Commit Graph

7 Commits

Author SHA1 Message Date
Kiran K fde4e59fa6
Add missing translations (#2089)
* Add missing translations

* Add eslint-plugin-i18next plugin

* Add missing translation

* Update translations

* Update ESLint rules and improve UI text

* Update WellKnownURLs locales

* Add server-side translations in SetupLinkIndexPage
2023-12-27 12:21:53 +00:00
dependabot[bot] b65c25ff6a
Bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.0.0 (#1311)
* Bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.0.0

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.61.0 to 6.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.0.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixed lint errors

* ignore type error for calledWithMatch args

* disable eslint check

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2023-07-11 13:56:55 +01:00
Aswin V a5ac299bbb
Bootstrap ui sdk development with Login component (#735)
* Push sdk folder

* Ignore `sdk` from root tsconfig

* Add postcss config

* Tweaks to the vite setup

* Cleanup and add `Login` component

* Test

* Undo test commit

* Turn off next linter rule for sdk

* Tweaks to component doc

* Add dom libs to tsconfig

* html id generation

* Component WIP

* Update tsconfig and lock file

* Refactor

* Tweak props and handle error display

* Simplify `useId` hook

* Update JSDOC

* Remove ErrorDisplayComponent prop

* Minor refactor

* Refactor id generation, add jsdoc

* Support styling via props and add default styles

* Sync lock files

* More default styles for input

* Sync lock file

* Tweak box-shadow

* Minor tweak comment

* WIP

* Update package name and lock file

* Update vite config fileName

* Exclude type emit for internal components

* Tweak package.json

* Rename `react-ui`

* Add repo and bugs fields

* Fix import name and jsdoc

* Support `unstyled` prop

* Tweak README and docs

* Minor tweaks

* Tweak README and update favicon

* Add workflow for npm publish

* Update build script and use node 16

* Add trigger on push

* Add dev dependencies to fix failing build

* Add missing dev dependency

* set access to public

* Move react & others to dev dependencies

* Fix main,module,exports in package.json

* Include types in package.json

* Fix types path

* Fix return type for `forwardTenant`

* Include react as a peer dependency

* Add react plugin to vite

* Handle `undefined`

* Inject defaultStyles into build

* Update tsconfig

* Update homepage

* Update type to void for no return

* Update usage

* [skip ci] update lock file

* [skip ci] Merge branch 'main' into 702-react-sdk-login

* WIP tweak component

* Handle submission state, align focus styles

* Sync lock file

* Swap ::set-output with `$GITHUB_OUTPUT`

* Use ci job output for getting npm version and publish tag

* trigger sdk jobs on `workflow_call`

* Use sdk workflow

* Fix workflow path

* Replace version in sdk package.json

* Move condition to sdk workflow

* Update vite to v4 and cleanup dependencies

* Publish a beta version for testing

* Revert removal of autoprefixer

* Update node version and inherit secrets

* Tweaks

* Update SDK README

* Revert changes related to testing

* Align border-radius with boxyhq ui

* Temporarily allow publish

* Style alignment with boxyhq ui

* - Update default styling to that of a b/w look
- Support style attr for container
- Tweak types
- Support CSS vars on container element to
style input and button outlines plus button hover

* Accept any color format

* Tweak README and demos

* Support spreading props for input/button

* Tweak style injection so that userland classes
load later and override the default styles

* Try non injection of css

* Add style.css to exports and files

* Formatting change

* Add styling section

* Bump up version

* - Use defaultClasses only if custom classes
are not set
- Remove `unstyled` prop

* Update demos

* Add style for disabled state

* Tweak README

* Bring back css injection

* Remove style from files and exports fields

* Scope css properties to appropriate inner elements

* Remove css properties

* Bump version

* Support HTMLAttributes for container and label also

* Prep for release

* Export types from entry point file

* Tweak for local usage via npm linking

* Replace package.json fields before publish

* Tweak demos

* updated dependabot for new package.json

* fixed yaml

Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2023-01-11 22:16:23 +00:00
Deepak Prabhakara ff9c9512df tweaks to the OpenAPI docs 2022-01-19 21:56:42 +00:00
Deepak Prabhakara 3754f2b13d
Next.js service (#53)
* moved jackson-next to this repo

* fixed working-directory

* updated package-lock

* fixed docker build

* fixed dockerfile

* cleanup

* save npm version for use in the build step

* switching the order

* fixed env secret

* update saml-jackson to the current version before building the next.js service

* build from typescript and change main and types before publishing npm

* copy README.md from root before publishing npm

* update README only for prod versions

* read version from root package.json file

* fixed artifact

* updated package-lock
2022-01-05 12:09:51 +00:00
Aswin V 6ff5490e5d added typescript linting plugins 2021-12-30 10:51:11 +05:30
Deepak Prabhakara c3da0c43e0 lint 2021-11-10 23:07:59 +00:00