@ambita/design-system 6.0.2-421.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/README.md +2 -2
  2. package/dist/css/ambita-dark.scss +1 -0
  3. package/dist/css/ambita-light.scss +1 -0
  4. package/dist/css/ambita-old.scss +1 -0
  5. package/dist/css/base.scss +1 -0
  6. package/dist/css/byggesoknaden.scss +1 -0
  7. package/dist/css/neo-tokens.scss +42 -17
  8. package/dist/css/utilities.scss +59 -0
  9. package/dist/ds.cjs +3 -3
  10. package/dist/ds.js +17291 -18235
  11. package/dist/ds.umd.cjs +4 -4
  12. package/dist/index.css +1 -1
  13. package/dist/themes/ambita-dark.css +1 -1
  14. package/dist/themes/ambita-light.css +1 -1
  15. package/dist/themes/ambita-old.css +1 -1
  16. package/dist/themes/byggesoknaden.css +1 -1
  17. package/dist/types/App.vue.d.ts +1 -79
  18. package/dist/types/components/AuxCheckbox/AuxCheckbox.vue.d.ts +51 -0
  19. package/dist/types/components/{Checkbox/CheckboxCard.vue.d.ts → AuxCheckbox/AuxCheckboxCard.vue.d.ts} +9 -0
  20. package/dist/types/components/{Checkbox/CheckboxRegular.vue.d.ts → AuxCheckbox/AuxCheckboxRegular.vue.d.ts} +9 -0
  21. package/dist/types/components/AuxDefinition/AuxDefinition.vue.d.ts +24 -0
  22. package/dist/types/components/AuxModal/AuxModal.vue.d.ts +16 -70
  23. package/dist/types/components/AuxNotification/AuxNotification.vue.d.ts +22 -0
  24. package/dist/types/components/AuxNotification/AuxNotifications.vue.d.ts +15 -0
  25. package/dist/types/components/AuxNotification/constants.d.ts +2 -0
  26. package/dist/types/components/AuxRadio/AuxRadio.vue.d.ts +31 -0
  27. package/dist/types/components/AuxSpinner/AuxSpinner.vue.d.ts +23 -0
  28. package/dist/types/components/AuxTag/AuxTag.vue.d.ts +18 -0
  29. package/dist/types/components/Button/NeoButton.vue.d.ts +2 -0
  30. package/dist/types/components/Button/NeoLoadingButton.vue.d.ts +33 -0
  31. package/dist/types/components/CheckboxDropdown/CheckboxDropdown.vue.d.ts +41 -307
  32. package/dist/types/components/CheckboxGroup/CheckboxGroup.vue.d.ts +17 -310
  33. package/dist/types/components/CheckboxGroup/types.d.ts +6 -0
  34. package/dist/types/components/Details/Details.vue.d.ts +5 -12
  35. package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +6 -14
  36. package/dist/types/components/FormElement/FormElement.vue.d.ts +5 -12
  37. package/dist/types/components/Input/Input.vue.d.ts +6 -13
  38. package/dist/types/components/Input/NeoInput.vue.d.ts +2 -2
  39. package/dist/types/components/NeoBanner/NeoBanner.vue.d.ts +1 -1
  40. package/dist/types/components/NeoComboBox/NeoComboBox.vue.d.ts +1 -1
  41. package/dist/types/components/NeoDatePicker/NeoDatePicker.vue.d.ts +2 -2
  42. package/dist/types/components/NeoSelect/NeoSelect.vue.d.ts +1 -1
  43. package/dist/types/components/NeoTagsInput/TagsInput.vue.d.ts +2 -2
  44. package/dist/types/components/RadioGroup/RadioGroup.vue.d.ts +18 -309
  45. package/dist/types/components/RadioGroup/RadioGroupCardElement.vue.d.ts +1 -1
  46. package/dist/types/components/RadioGroup/RadioGroupElement.vue.d.ts +1 -1
  47. package/dist/types/components/Select/Select.vue.d.ts +6 -13
  48. package/dist/types/components/StatusBadge/StatusBadge.vue.d.ts +19 -44
  49. package/dist/types/components/TextArea/TextArea.vue.d.ts +6 -13
  50. package/dist/types/components/Typography/NeoFormField.vue.d.ts +2 -3
  51. package/dist/types/components/Upload/Upload.vue.d.ts +5 -12
  52. package/dist/types/index.d.ts +10 -6
  53. package/dist/types/main.d.ts +0 -1
  54. package/package.json +80 -75
  55. package/dist/types/components/Checkbox/Checkbox.vue.d.ts +0 -239
  56. package/dist/types/components/Definition/Definition.vue.d.ts +0 -59
  57. package/dist/types/components/Notification/Notification.vue.d.ts +0 -35
  58. package/dist/types/components/Notification/Notifications.vue.d.ts +0 -53
  59. package/dist/types/components/Notification/constants.d.ts +0 -2
  60. package/dist/types/components/Radio/Radio.vue.d.ts +0 -51
  61. package/dist/types/components/Spinner/Spinner.vue.d.ts +0 -23
  62. package/dist/types/components/Tag/Tag.vue.d.ts +0 -22
  63. /package/dist/types/components/{Checkbox → AuxCheckbox}/constants.d.ts +0 -0
  64. /package/dist/types/components/{Spinner → AuxSpinner}/constants.d.ts +0 -0
  65. /package/dist/types/components/{Tag → AuxTag}/Colors.d.ts +0 -0
  66. /package/dist/types/components/{Seperator → Separator}/NeoSeparator.vue.d.ts +0 -0
@@ -56,7 +56,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
56
56
  styles: import("vue").ComputedRef<CSSProperties>;
57
57
  blurEmit(event: Event): void;
58
58
  handleInput(event: Event): void;
59
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue")[], "input" | "blur" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "blur")[], "input" | "update:modelValue" | "blur", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
60
60
  modelValue: {
61
61
  type: (StringConstructor | NumberConstructor)[];
62
62
  };
@@ -178,19 +178,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
178
178
  arrowDirection: import("vue").ComputedRef<"up" | "down">;
179
179
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
180
180
  AuxDirectionalArrow: import("vue").DefineComponent<{
181
- direction: string;
182
- }, {
183
- classes: import("vue").ComputedRef<{
184
- [x: string]: boolean;
185
- 'aux-arrow': boolean;
186
- }>;
187
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
188
- direction: string;
181
+ direction?: "left" | "up" | "down" | "right";
182
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
183
+ direction?: "left" | "up" | "down" | "right";
189
184
  }> & Readonly<{}>, {
190
- direction: string;
191
- }, {}, {
192
- CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
193
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
185
+ direction: "left" | "up" | "down" | "right";
186
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
194
187
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
195
188
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
196
189
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,4 @@
1
- import type { NeoFormFieldProps } from '@/components/Typography/types';
2
- export type { NeoFormFieldProps } from '@/components/Typography/types';
1
+ import type { NeoFormFieldProps } from '@/components/Typography/types.ts';
3
2
  declare var __VLS_13: {
4
3
  ariaDescribedBy: string | undefined;
5
4
  };
@@ -8,8 +7,8 @@ type __VLS_Slots = {} & {
8
7
  };
9
8
  declare const __VLS_base: import("vue").DefineComponent<NeoFormFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NeoFormFieldProps> & Readonly<{}>, {
10
9
  label: string;
11
- id: string;
12
10
  error: string;
11
+ id: string;
13
12
  helperText: string;
14
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -304,19 +304,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
304
304
  arrowDirection: import("vue").ComputedRef<"up" | "down">;
305
305
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
306
306
  AuxDirectionalArrow: import("vue").DefineComponent<{
307
- direction: string;
308
- }, {
309
- classes: import("vue").ComputedRef<{
310
- [x: string]: boolean;
311
- 'aux-arrow': boolean;
312
- }>;
313
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
314
- direction: string;
307
+ direction?: "left" | "up" | "down" | "right";
308
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
309
+ direction?: "left" | "up" | "down" | "right";
315
310
  }> & Readonly<{}>, {
316
- direction: string;
317
- }, {}, {
318
- CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
319
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
311
+ direction: "left" | "up" | "down" | "right";
312
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
320
313
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
321
314
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
322
315
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,13 +1,13 @@
1
1
  import '@/css/base.scss';
2
2
  export { default as AuxButton } from './components/Button/Button.vue';
3
3
  export { default as AuxBanner } from './components/Banner/Banner.vue';
4
- export { default as AuxSpinner } from './components/Spinner/Spinner.vue';
5
- export { default as AuxRadio } from './components/Radio/Radio.vue';
4
+ export { default as AuxSpinner } from './components/AuxSpinner/AuxSpinner.vue';
5
+ export { default as AuxRadio } from './components/AuxRadio/AuxRadio.vue';
6
6
  export { default as AuxRadioGroup } from './components/RadioGroup/RadioGroup.vue';
7
7
  export { default as AuxInput } from './components/Input/Input.vue';
8
- export { default as AuxDefinition } from './components/Definition/Definition.vue';
8
+ export { default as AuxDefinition } from './components/AuxDefinition/AuxDefinition.vue';
9
9
  export { default as AuxLogo } from './components/Logo/Logo.vue';
10
- export { default as AuxCheckbox } from './components/Checkbox/Checkbox.vue';
10
+ export { default as AuxCheckbox } from './components/AuxCheckbox/AuxCheckbox.vue';
11
11
  export { default as AuxCheckboxGroup } from './components/CheckboxGroup/CheckboxGroup.vue';
12
12
  export { default as AuxSelect } from './components/Select/Select.vue';
13
13
  export { default as AuxLink } from './components/Link/Link.vue';
@@ -15,13 +15,13 @@ export { default as AuxModal } from './components/AuxModal/AuxModal.vue';
15
15
  export { default as AuxTextArea } from './components/TextArea/TextArea.vue';
16
16
  export { default as AuxUpload } from './components/Upload/Upload.vue';
17
17
  export { default as AuxCard } from './components/Card/Card.vue';
18
- export { default as AuxTag } from './components/Tag/Tag.vue';
18
+ export { default as AuxTag } from './components/AuxTag/AuxTag.vue';
19
19
  export { default as AuxTime } from './components/Time/Time.vue';
20
20
  export { default as AuxToggle } from './components/Toggle/Toggle.vue';
21
21
  export { default as AuxPagination } from './components/Pagination/Pagination.vue';
22
22
  export { default as AuxDirectionalArrow } from './components/DirectionalArrow/DirectionalArrow.vue';
23
23
  export { default as AuxAriaAnnouncer } from './components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue';
24
- export { default as AuxNotifications } from './components/Notification/Notifications.vue';
24
+ export { default as AuxNotifications } from './components/AuxNotification/AuxNotifications.vue';
25
25
  export { default as AuxStatusBadge } from './components/StatusBadge/StatusBadge.vue';
26
26
  export { default as AuxValidationWrapper } from './components/ValidationWrapper/ValidationWrapper.vue';
27
27
  export { default as AuxDetails } from './components/Details/Details.vue';
@@ -29,6 +29,7 @@ export { default as AuxFormElement } from './components/FormElement/FormElement.
29
29
  export { default as AuxTabs } from './components/AuxTabs/AuxTabs.vue';
30
30
  export { default as NeoButton } from '@/components/Button/NeoButton.vue';
31
31
  export { default as NeoLinkButton } from '@/components/Button/NeoLinkButton.vue';
32
+ export { default as NeoLoadingButton } from '@/components/Button/NeoLoadingButton.vue';
32
33
  export { default as NeoInput } from '@/components/Input/NeoInput.vue';
33
34
  export { default as NeoTagsInput } from '@/components/NeoTagsInput/TagsInput.vue';
34
35
  export { default as NeoSelect } from '@/components/NeoSelect/NeoSelect.vue';
@@ -51,6 +52,9 @@ export { default as NeoHelperText } from '@/components/Typography/HelperText.vue
51
52
  export { default as NeoLabelText } from '@/components/Typography/LabelText.vue';
52
53
  export { default as NeoErrorText } from '@/components/Typography/ErrorText.vue';
53
54
  export type { NeoTab, NeoTabsData } from '@/components/NeoTabs/NeoTabsWrapper.vue';
55
+ export type { AuxCheckboxGroupItem } from '@/components/CheckboxGroup/types';
56
+ export type { AuxNotificationData } from '@/components/AuxNotification/AuxNotification';
57
+ export type { AuxNotificationsData } from '@/components/AuxNotification/AuxNotifications';
54
58
  export type { TagVariant } from '@/components/NeoTagsInput/NeoTag.vue';
55
59
  export type { TagOption, TagGroup } from '@/components/NeoTagsInput/types';
56
60
  export type { PaginationOffset } from '@/components/Pagination/types';
@@ -2,5 +2,4 @@ import 'sanitize.css';
2
2
  import 'sanitize.css/forms.css';
3
3
  import 'sanitize.css/assets.css';
4
4
  import 'sanitize.css/typography.css';
5
- import 'sanitize.css/reduce-motion.css';
6
5
  import '@/css/ambita-light.scss';
package/package.json CHANGED
@@ -1,43 +1,25 @@
1
1
  {
2
2
  "name": "@ambita/design-system",
3
- "version": "6.0.2-421.0",
3
+ "version": "6.1.0",
4
+ "homepage": "https://ds.ambita.com/",
5
+ "license": "UNLICENSED",
4
6
  "repository": {
5
7
  "type": "git",
6
8
  "url": "git+ssh://git@github.com/Ambita/design-system-vue-3.git"
7
9
  },
8
- "homepage": "https://ds.ambita.com/",
9
- "packageManager": "npm@10.9.4",
10
- "scripts": {
11
- "dev": "vite",
12
- "start": "vite",
13
- "preview": "vite preview",
14
- "storybook": "storybook dev -p 6006",
15
- "build": "run-p type-check && vite build",
16
- "build:package-types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json",
17
- "build:package": "npm run tokens:build:dist && mkdir -p dist/scss dist/css && PACKAGE=true npm run build && npm run sass-compile && npm run themes:bundle && npm run build:package-types",
18
- "build:storybook": "storybook build",
19
- "build:storybook:prepare": "npm run tokens:build:dist && PACKAGE=true vite build && npm run themes:bundle",
20
- "sass-compile": "sass ./src/css/colors-css-variables.scss ./dist/css/colors-css-variables.css --no-source-map",
21
- "yalc:push": "npm run build:package && yalc push",
22
- "yalc:publish": "npm run build:package && yalc publish",
23
- "test": "vitest run --project unit",
24
- "test:unit": "vitest --project unit",
25
- "test:storybook": "vitest run --project storybook",
26
- "test:coverage": "vitest run --project unit --coverage",
27
- "type-check": "vue-tsc -p tsconfig.vitest.json --composite false",
28
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
29
- "format": "prettier --write src/",
30
- "prepare": "husky",
31
- "tokens:build": "node tokens-script/build-all.js dev && npm run format",
32
- "tokens:build:dist": "node tokens-script/build-all.js dist && npm run format",
33
- "tokens:validate": "node tokens-script/validate-tokens.js",
34
- "tokens:diff": "node tokens-script/generate-token-diff.js",
35
- "themes:bundle": "node tokens-script/generate-theme-bundles.js"
36
- },
10
+ "files": [
11
+ "dist/**/*",
12
+ "README.md"
13
+ ],
37
14
  "type": "module",
15
+ "sideEffects": [
16
+ "*.vue",
17
+ "*.css"
18
+ ],
38
19
  "main": "./dist/ds.cjs",
39
20
  "module": "./dist/ds.js",
40
21
  "types": "./dist/types/index.d.ts",
22
+ "typings": "./dist/types/index.d.ts",
41
23
  "exports": {
42
24
  ".": {
43
25
  "types": "./dist/types/index.d.ts",
@@ -71,74 +53,97 @@
71
53
  "./dist/scss/colors-scss-variables.scss": "./dist/scss/colors-scss-variables.scss",
72
54
  "./dist/scss/mixins.scss": "./dist/scss/mixins.scss"
73
55
  },
74
- "files": [
75
- "dist/**/*",
76
- "README.md"
77
- ],
78
- "license": "UNLICENSED",
79
- "readme": "README.md",
80
- "sideEffects": [
81
- "*.vue",
82
- "*.css"
83
- ],
84
- "lint-staged": {
85
- "*.{js,jsx,ts,tsx,vue}": [
86
- "eslint --quiet --fix"
87
- ],
88
- "*.{json,js,jsx,ts,tsx,vue,css}": [
89
- "prettier --write --ignore-unknown"
90
- ]
56
+ "scripts": {
57
+ "dev": "vite",
58
+ "start": "vite",
59
+ "preview": "vite preview",
60
+ "storybook": "storybook dev -p 6006",
61
+ "build": "run-p type-check && vite build",
62
+ "build:package-types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json",
63
+ "build:package": "npm run tokens:build:dist && mkdir -p dist/scss dist/css && PACKAGE=true npm run build && npm run sass-compile && npm run themes:bundle && npm run build:package-types",
64
+ "build:storybook": "storybook build",
65
+ "build:storybook:prepare": "npm run tokens:build:dist && PACKAGE=true vite build && npm run themes:bundle",
66
+ "sass-compile": "sass ./src/css/colors-css-variables.scss ./dist/css/colors-css-variables.css --no-source-map",
67
+ "yalc:push": "npm run build:package && yalc push",
68
+ "yalc:publish": "npm run build:package && yalc publish",
69
+ "test": "vitest run --project unit",
70
+ "test:unit": "vitest --project unit",
71
+ "test:storybook": "vitest run --project storybook",
72
+ "test:coverage": "vitest run --project unit --coverage",
73
+ "type-check": "vue-tsc -p tsconfig.vitest.json --composite false",
74
+ "lint": "oxlint --deny-warnings && eslint --fix",
75
+ "format": "oxfmt",
76
+ "format:check": "oxfmt --check",
77
+ "ci:check": "npm run format:check && npm run lint && npm run type-check",
78
+ "prepare": "husky",
79
+ "tokens:build": "node tokens-script/build-all.js dev && npm run format",
80
+ "tokens:build:dist": "node tokens-script/build-all.js dist && npm run format",
81
+ "tokens:validate": "node tokens-script/validate-tokens.js",
82
+ "tokens:diff": "node tokens-script/generate-token-diff.js",
83
+ "themes:bundle": "node tokens-script/generate-theme-bundles.js"
91
84
  },
92
- "typings": "./dist/types/index.d.ts",
93
85
  "dependencies": {
94
86
  "@ambita/design-system-icons": "^2.0.0",
95
87
  "@internationalized/date": "^3.11.0",
96
88
  "@vueuse/core": "^14.2.1",
97
89
  "reka-ui": "^2.8.2",
98
- "sanitize.css": "^13.0.0",
99
90
  "uuid": "^10.0.0"
100
91
  },
101
92
  "devDependencies": {
102
- "@rushstack/eslint-patch": "^1.16.1",
103
- "@storybook/addon-a11y": "^10.2.16",
104
- "@storybook/addon-docs": "^10.2.13",
105
- "@storybook/addon-links": "^10.2.12",
106
- "@storybook/addon-themes": "10.2.16",
107
- "@storybook/addon-vitest": "^10.2.12",
108
- "@storybook/vue3-vite": "^10.2.12",
93
+ "@storybook/addon-a11y": "^10.2.19",
94
+ "@storybook/addon-docs": "^10.2.19",
95
+ "@storybook/addon-links": "^10.2.19",
96
+ "@storybook/addon-themes": "10.2.19",
97
+ "@storybook/addon-vitest": "^10.2.19",
98
+ "@storybook/vue3-vite": "^10.2.19",
109
99
  "@tsconfig/node-lts": "^22.0.4",
110
100
  "@types/jsdom": "^27.0.0",
111
101
  "@types/node": "^22.19.15",
112
102
  "@types/uuid": "^10.0.0",
113
- "@typescript-eslint/eslint-plugin": "^7.18.0",
114
- "@typescript-eslint/parser": "^7.18.0",
115
- "@vitejs/plugin-vue": "^6.0.4",
116
- "@vitest/coverage-v8": "^4.0.18",
117
- "@vue/eslint-config-prettier": "^10.2.0",
118
- "@vue/eslint-config-typescript": "^13.0.0",
103
+ "@vitejs/plugin-vue": "^6.0.5",
104
+ "@vitest/browser-playwright": "^4.0.0",
105
+ "@vitest/coverage-v8": "^4.0.0",
106
+ "@vue/eslint-config-typescript": "^14.0.0",
119
107
  "@vue/test-utils": "^2.4.6",
120
108
  "@vue/tsconfig": "^0.8.1",
121
- "eslint": "^8.57.1",
122
- "eslint-plugin-prettier": "^5.5.5",
123
- "eslint-plugin-storybook": "^10.2.16",
109
+ "eslint": "^9.0.0",
110
+ "eslint-config-prettier": "^9.0.0",
111
+ "eslint-plugin-oxlint": "^1.55.0",
112
+ "eslint-plugin-storybook": "^10.2.19",
124
113
  "eslint-plugin-vue": "^9.32.0",
125
114
  "husky": "^9.1.7",
126
115
  "jsdom": "^27.0.0",
127
116
  "lint-staged": "^16.2.7",
128
117
  "npm-run-all": "^4.1.5",
129
- "prettier": "^3.8.1",
118
+ "oxfmt": "^0.40.0",
119
+ "oxlint": "^1.0.0",
120
+ "playwright": "^1.58.2",
130
121
  "rollup-plugin-copy": "^3.5.0",
122
+ "sanitize.css": "^13.0.0",
131
123
  "sass": "^1.97.3",
132
- "storybook": "^10.2.13",
124
+ "storybook": "^10.2.19",
133
125
  "style-dictionary": "^5.3.2",
134
126
  "typescript": "^5.9.3",
135
127
  "typescript-eslint": "^8.56.1",
136
- "vite": "^7.3.1",
137
- "vite-svg-loader": "^5.1.0",
138
- "vitest": "^4.0.18",
139
- "vue": "^3.5.29",
140
- "vue-tsc": "^3.2.5",
141
- "playwright": "^1.58.2",
142
- "@vitest/browser-playwright": "^4.0.18"
143
- }
128
+ "vite": "^8.0.0",
129
+ "vite-svg-loader": "^5.1.1",
130
+ "vitest": "^4.0.0",
131
+ "vue": "^3.5.30",
132
+ "vue-tsc": "^3.2.5"
133
+ },
134
+ "peerDependencies": {
135
+ "sanitize.css": "^13.0.0",
136
+ "vue": "^3.0.0"
137
+ },
138
+ "lint-staged": {
139
+ "*.{js,jsx,ts,tsx,vue}": [
140
+ "oxlint --deny-warnings",
141
+ "eslint --quiet --fix"
142
+ ],
143
+ "*.{json,js,jsx,ts,tsx,vue,css,scss}": [
144
+ "oxfmt"
145
+ ]
146
+ },
147
+ "packageManager": "npm@10.9.4",
148
+ "readme": "README.md"
144
149
  }
@@ -1,239 +0,0 @@
1
- declare const _default: typeof __VLS_export;
2
- export default _default;
3
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- value: {
5
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
6
- };
7
- disabled: {
8
- type: BooleanConstructor;
9
- };
10
- id: {
11
- type: StringConstructor;
12
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
13
- };
14
- name: {
15
- type: StringConstructor;
16
- required: false;
17
- };
18
- selected: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- indeterminate: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- layout: {
27
- type: StringConstructor;
28
- validator: (value: string) => boolean;
29
- default: string;
30
- };
31
- }>, {
32
- changeEvent: (value: Event) => void;
33
- checkboxType: import("vue").ComputedRef<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
34
- value: {
35
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
36
- };
37
- disabled: {
38
- type: BooleanConstructor;
39
- };
40
- id: {
41
- type: StringConstructor;
42
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
43
- };
44
- name: {
45
- type: StringConstructor;
46
- required: false;
47
- };
48
- selected: {
49
- type: BooleanConstructor;
50
- default: boolean;
51
- };
52
- indeterminate: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- }>, {
57
- changeEvent: (event: Event) => void;
58
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
- value: {
60
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
61
- };
62
- disabled: {
63
- type: BooleanConstructor;
64
- };
65
- id: {
66
- type: StringConstructor;
67
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
68
- };
69
- name: {
70
- type: StringConstructor;
71
- required: false;
72
- };
73
- selected: {
74
- type: BooleanConstructor;
75
- default: boolean;
76
- };
77
- indeterminate: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- };
81
- }>> & Readonly<{
82
- onChange?: ((...args: any[]) => any) | undefined;
83
- }>, {
84
- disabled: boolean;
85
- id: string;
86
- selected: boolean;
87
- indeterminate: boolean;
88
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
89
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:selected")[], "change" | "update:selected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
90
- value: {
91
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
92
- };
93
- disabled: {
94
- type: BooleanConstructor;
95
- };
96
- id: {
97
- type: StringConstructor;
98
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
99
- };
100
- name: {
101
- type: StringConstructor;
102
- required: false;
103
- };
104
- selected: {
105
- type: BooleanConstructor;
106
- default: boolean;
107
- };
108
- indeterminate: {
109
- type: BooleanConstructor;
110
- default: boolean;
111
- };
112
- layout: {
113
- type: StringConstructor;
114
- validator: (value: string) => boolean;
115
- default: string;
116
- };
117
- }>> & Readonly<{
118
- onChange?: ((...args: any[]) => any) | undefined;
119
- "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
120
- }>, {
121
- disabled: boolean;
122
- id: string;
123
- selected: boolean;
124
- layout: string;
125
- indeterminate: boolean;
126
- }, {}, {
127
- AuxCheckboxRegular: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
128
- value: {
129
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
130
- };
131
- disabled: {
132
- type: BooleanConstructor;
133
- };
134
- id: {
135
- type: StringConstructor;
136
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
137
- };
138
- name: {
139
- type: StringConstructor;
140
- required: false;
141
- };
142
- selected: {
143
- type: BooleanConstructor;
144
- default: boolean;
145
- };
146
- indeterminate: {
147
- type: BooleanConstructor;
148
- default: boolean;
149
- };
150
- }>, {
151
- changeEvent: (event: Event) => void;
152
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
153
- value: {
154
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
155
- };
156
- disabled: {
157
- type: BooleanConstructor;
158
- };
159
- id: {
160
- type: StringConstructor;
161
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
162
- };
163
- name: {
164
- type: StringConstructor;
165
- required: false;
166
- };
167
- selected: {
168
- type: BooleanConstructor;
169
- default: boolean;
170
- };
171
- indeterminate: {
172
- type: BooleanConstructor;
173
- default: boolean;
174
- };
175
- }>> & Readonly<{
176
- onChange?: ((...args: any[]) => any) | undefined;
177
- }>, {
178
- disabled: boolean;
179
- id: string;
180
- selected: boolean;
181
- indeterminate: boolean;
182
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
183
- AuxCheckboxCard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
184
- value: {
185
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
186
- };
187
- disabled: {
188
- type: BooleanConstructor;
189
- };
190
- id: {
191
- type: StringConstructor;
192
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
193
- };
194
- name: {
195
- type: StringConstructor;
196
- required: false;
197
- };
198
- selected: {
199
- type: BooleanConstructor;
200
- default: boolean;
201
- };
202
- indeterminate: {
203
- type: BooleanConstructor;
204
- default: boolean;
205
- };
206
- }>, {
207
- changeEvent: (event: Event) => void;
208
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
209
- value: {
210
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
211
- };
212
- disabled: {
213
- type: BooleanConstructor;
214
- };
215
- id: {
216
- type: StringConstructor;
217
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
218
- };
219
- name: {
220
- type: StringConstructor;
221
- required: false;
222
- };
223
- selected: {
224
- type: BooleanConstructor;
225
- default: boolean;
226
- };
227
- indeterminate: {
228
- type: BooleanConstructor;
229
- default: boolean;
230
- };
231
- }>> & Readonly<{
232
- onChange?: ((...args: any[]) => any) | undefined;
233
- }>, {
234
- disabled: boolean;
235
- id: string;
236
- selected: boolean;
237
- indeterminate: boolean;
238
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
239
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,59 +0,0 @@
1
- declare const _default: typeof __VLS_export;
2
- export default _default;
3
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- label: {
5
- type: StringConstructor;
6
- required: true;
7
- };
8
- suffix: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- vertical: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- dataTestid: {
17
- type: StringConstructor;
18
- required: false;
19
- };
20
- size: {
21
- type: StringConstructor;
22
- required: false;
23
- default: string;
24
- validator: (value: string) => boolean;
25
- };
26
- }>, {
27
- classes: import("vue").ComputedRef<{
28
- [x: string]: boolean;
29
- 'aux-definition': boolean;
30
- 'aux-definition--vertical': boolean;
31
- }>;
32
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
- label: {
34
- type: StringConstructor;
35
- required: true;
36
- };
37
- suffix: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- vertical: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- dataTestid: {
46
- type: StringConstructor;
47
- required: false;
48
- };
49
- size: {
50
- type: StringConstructor;
51
- required: false;
52
- default: string;
53
- validator: (value: string) => boolean;
54
- };
55
- }>> & Readonly<{}>, {
56
- vertical: boolean;
57
- size: string;
58
- suffix: string;
59
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;