@axis-ds/ui-react 1.2.1 → 1.3.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.
- package/dist/accordion/index.js +9 -1
- package/dist/accordion/index.mjs +2 -2
- package/dist/alert/index.js +9 -1
- package/dist/alert/index.mjs +2 -2
- package/dist/avatar/index.js +9 -1
- package/dist/avatar/index.mjs +2 -2
- package/dist/badge/index.js +9 -1
- package/dist/badge/index.mjs +2 -2
- package/dist/breadcrumb/index.js +9 -1
- package/dist/breadcrumb/index.mjs +2 -2
- package/dist/button/index.js +9 -1
- package/dist/button/index.mjs +2 -2
- package/dist/card/index.js +10 -2
- package/dist/card/index.mjs +2 -2
- package/dist/checkbox/index.js +9 -1
- package/dist/checkbox/index.mjs +2 -2
- package/dist/{chunk-3X4D5BY3.mjs → chunk-22MWNPDF.mjs} +1 -1
- package/dist/{chunk-6TRDXC4W.mjs → chunk-2OEPKE4D.mjs} +1 -1
- package/dist/{chunk-ECF2JRI5.mjs → chunk-2XNUJNTG.mjs} +1 -1
- package/dist/{chunk-XHILRI24.mjs → chunk-4I2F2NLP.mjs} +1 -1
- package/dist/{chunk-WZKK4HZL.mjs → chunk-4PT43LON.mjs} +1 -1
- package/dist/{chunk-SLQ756Q7.mjs → chunk-5NWFAQBM.mjs} +1 -1
- package/dist/{chunk-EDGX5DCD.mjs → chunk-5Z2R3IHJ.mjs} +1 -1
- package/dist/{chunk-YKZAU3UV.mjs → chunk-AY4B3RRN.mjs} +1 -1
- package/dist/{chunk-O5SM54HW.mjs → chunk-C5O47K7L.mjs} +2 -2
- package/dist/{chunk-HQJBSI2B.mjs → chunk-CNU6645Y.mjs} +1 -1
- package/dist/{chunk-IXLVGZWU.mjs → chunk-CY72AGI2.mjs} +2 -2
- package/dist/{chunk-FMXB7UCT.mjs → chunk-DRFCNDVQ.mjs} +1 -1
- package/dist/{chunk-AIZOU3L5.mjs → chunk-F2WSIT7F.mjs} +1 -1
- package/dist/{chunk-DMN6TZ5P.mjs → chunk-FZFREHAE.mjs} +1 -1
- package/dist/{chunk-WD72RERV.mjs → chunk-HKYKDQ6C.mjs} +1 -1
- package/dist/{chunk-SCH6SFLB.mjs → chunk-IS7NER3O.mjs} +1 -1
- package/dist/{chunk-MCAHPQTZ.mjs → chunk-MOBW7BKD.mjs} +1 -1
- package/dist/{chunk-4AWNSTZH.mjs → chunk-OQGMQL2A.mjs} +1 -1
- package/dist/{chunk-4JQWQF3H.mjs → chunk-PJX5UF3Y.mjs} +1 -1
- package/dist/{chunk-MARIIZN7.mjs → chunk-QXQWVRXN.mjs} +1 -1
- package/dist/{chunk-E2C7WDLA.mjs → chunk-RFB4IABR.mjs} +1 -1
- package/dist/{chunk-NEZK6NO5.mjs → chunk-SO2QSRGV.mjs} +1 -1
- package/dist/{chunk-5363AGDM.mjs → chunk-TA62Q7YX.mjs} +1 -1
- package/dist/{chunk-ZPMR6JNE.mjs → chunk-TB33GTWS.mjs} +1 -1
- package/dist/{chunk-KAIB45YN.mjs → chunk-YI5OZRUB.mjs} +1 -1
- package/dist/{chunk-QGLMN7PH.mjs → chunk-YZDRNV46.mjs} +1 -1
- package/dist/{chunk-WN4YFVP6.mjs → chunk-Z4P43F5J.mjs} +1 -1
- package/dist/{chunk-IVINZBZH.mjs → chunk-Z65ZMFDH.mjs} +1 -1
- package/dist/chunk-ZIF4PLK3.mjs +18 -0
- package/dist/{chunk-AEBHTW7E.mjs → chunk-ZW6GY5PO.mjs} +1 -1
- package/dist/command/index.js +9 -1
- package/dist/command/index.mjs +2 -2
- package/dist/dialog/index.js +10 -2
- package/dist/dialog/index.mjs +2 -2
- package/dist/dropdown-menu/index.js +9 -1
- package/dist/dropdown-menu/index.mjs +2 -2
- package/dist/index.js +11 -3
- package/dist/index.mjs +33 -33
- package/dist/input/index.js +9 -1
- package/dist/input/index.mjs +2 -2
- package/dist/label/index.js +9 -1
- package/dist/label/index.mjs +2 -2
- package/dist/popover/index.js +9 -1
- package/dist/popover/index.mjs +2 -2
- package/dist/progress/index.js +9 -1
- package/dist/progress/index.mjs +2 -2
- package/dist/radio-group/index.js +9 -1
- package/dist/radio-group/index.mjs +2 -2
- package/dist/scroll-area/index.js +9 -1
- package/dist/scroll-area/index.mjs +2 -2
- package/dist/select/index.js +9 -1
- package/dist/select/index.mjs +2 -2
- package/dist/separator/index.js +9 -1
- package/dist/separator/index.mjs +2 -2
- package/dist/sheet/index.d.mts +1 -1
- package/dist/sheet/index.d.ts +1 -1
- package/dist/sheet/index.js +9 -1
- package/dist/sheet/index.mjs +2 -2
- package/dist/skeleton/index.js +9 -1
- package/dist/skeleton/index.mjs +2 -2
- package/dist/slider/index.js +9 -1
- package/dist/slider/index.mjs +2 -2
- package/dist/switch/index.js +9 -1
- package/dist/switch/index.mjs +2 -2
- package/dist/table/index.js +9 -1
- package/dist/table/index.mjs +2 -2
- package/dist/tabs/index.js +9 -1
- package/dist/tabs/index.mjs +2 -2
- package/dist/textarea/index.js +9 -1
- package/dist/textarea/index.mjs +2 -2
- package/dist/toast/index.js +9 -1
- package/dist/toast/index.mjs +2 -2
- package/dist/toggle/index.js +9 -1
- package/dist/toggle/index.mjs +2 -2
- package/dist/tooltip/index.js +9 -1
- package/dist/tooltip/index.mjs +2 -2
- package/package.json +3 -2
- package/dist/chunk-PJO7WJ4G.mjs +0 -10
package/dist/tabs/index.js
CHANGED
|
@@ -42,8 +42,16 @@ var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
|
|
|
42
42
|
// src/utils.ts
|
|
43
43
|
var import_clsx = require("clsx");
|
|
44
44
|
var import_tailwind_merge = require("tailwind-merge");
|
|
45
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
46
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
47
|
+
extend: {
|
|
48
|
+
classGroups: {
|
|
49
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
});
|
|
45
53
|
function cn(...inputs) {
|
|
46
|
-
return
|
|
54
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
47
55
|
}
|
|
48
56
|
|
|
49
57
|
// src/tabs/index.tsx
|
package/dist/tabs/index.mjs
CHANGED
package/dist/textarea/index.js
CHANGED
|
@@ -38,8 +38,16 @@ var React = __toESM(require("react"));
|
|
|
38
38
|
// src/utils.ts
|
|
39
39
|
var import_clsx = require("clsx");
|
|
40
40
|
var import_tailwind_merge = require("tailwind-merge");
|
|
41
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
42
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
43
|
+
extend: {
|
|
44
|
+
classGroups: {
|
|
45
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
41
49
|
function cn(...inputs) {
|
|
42
|
-
return
|
|
50
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
43
51
|
}
|
|
44
52
|
|
|
45
53
|
// src/textarea/index.tsx
|
package/dist/textarea/index.mjs
CHANGED
package/dist/toast/index.js
CHANGED
|
@@ -46,8 +46,16 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
|
46
46
|
// src/utils.ts
|
|
47
47
|
var import_clsx = require("clsx");
|
|
48
48
|
var import_tailwind_merge = require("tailwind-merge");
|
|
49
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
50
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
51
|
+
extend: {
|
|
52
|
+
classGroups: {
|
|
53
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
});
|
|
49
57
|
function cn(...inputs) {
|
|
50
|
-
return
|
|
58
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
// src/toast/index.tsx
|
package/dist/toast/index.mjs
CHANGED
package/dist/toggle/index.js
CHANGED
|
@@ -41,8 +41,16 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
|
41
41
|
// src/utils.ts
|
|
42
42
|
var import_clsx = require("clsx");
|
|
43
43
|
var import_tailwind_merge = require("tailwind-merge");
|
|
44
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
45
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
46
|
+
extend: {
|
|
47
|
+
classGroups: {
|
|
48
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
});
|
|
44
52
|
function cn(...inputs) {
|
|
45
|
-
return
|
|
53
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
46
54
|
}
|
|
47
55
|
|
|
48
56
|
// src/toggle/index.tsx
|
package/dist/toggle/index.mjs
CHANGED
package/dist/tooltip/index.js
CHANGED
|
@@ -42,8 +42,16 @@ var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
|
|
42
42
|
// src/utils.ts
|
|
43
43
|
var import_clsx = require("clsx");
|
|
44
44
|
var import_tailwind_merge = require("tailwind-merge");
|
|
45
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
46
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
47
|
+
extend: {
|
|
48
|
+
classGroups: {
|
|
49
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
});
|
|
45
53
|
function cn(...inputs) {
|
|
46
|
-
return
|
|
54
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
47
55
|
}
|
|
48
56
|
|
|
49
57
|
// src/tooltip/index.tsx
|
package/dist/tooltip/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axis-ds/ui-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "AXIS Design System - Core React UI Components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"clsx": "^2.1.0",
|
|
197
197
|
"cmdk": "^1.1.1",
|
|
198
198
|
"tailwind-merge": "^2.5.0",
|
|
199
|
-
"@axis-ds/tokens": "1.
|
|
199
|
+
"@axis-ds/tokens": "1.3.0"
|
|
200
200
|
},
|
|
201
201
|
"devDependencies": {
|
|
202
202
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -232,6 +232,7 @@
|
|
|
232
232
|
"build": "tsup src/index.ts src/*/index.tsx --format cjs,esm --dts --external react && node scripts/sync-exports.mjs",
|
|
233
233
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch --external react",
|
|
234
234
|
"clean": "rm -rf dist",
|
|
235
|
+
"lint": "eslint .",
|
|
235
236
|
"test": "vitest run",
|
|
236
237
|
"test:coverage": "vitest run --coverage",
|
|
237
238
|
"test:watch": "vitest",
|