@opengovsg/oui-theme 0.0.0-snapshot-20250619075023 → 0.0.0-snapshot-20250808095255
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/components/badge.d.mts +2 -182
- package/dist/components/badge.d.ts +2 -182
- package/dist/components/banner.d.mts +1 -78
- package/dist/components/banner.d.ts +1 -78
- package/dist/components/button.d.mts +1 -123
- package/dist/components/button.d.ts +1 -123
- package/dist/components/calendar.d.mts +1 -107
- package/dist/components/calendar.d.ts +1 -107
- package/dist/components/combo-box-fuzzy.d.mts +1 -32
- package/dist/components/combo-box-fuzzy.d.ts +1 -32
- package/dist/components/combo-box.d.mts +2 -146
- package/dist/components/combo-box.d.ts +2 -146
- package/dist/components/date-field.d.mts +9 -150
- package/dist/components/date-field.d.ts +9 -150
- package/dist/components/date-picker.d.mts +1 -50
- package/dist/components/date-picker.d.ts +1 -50
- package/dist/components/date-range-picker.d.mts +1 -68
- package/dist/components/date-range-picker.d.ts +1 -68
- package/dist/components/field-group.d.mts +2 -109
- package/dist/components/field-group.d.ts +2 -109
- package/dist/components/field.d.mts +3 -103
- package/dist/components/field.d.ts +3 -103
- package/dist/components/govt-banner.d.mts +44 -75
- package/dist/components/govt-banner.d.ts +44 -75
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/input.d.mts +1 -45
- package/dist/components/input.d.ts +1 -45
- package/dist/components/list-box.d.mts +1 -87
- package/dist/components/list-box.d.ts +1 -87
- package/dist/components/menu.d.mts +4 -198
- package/dist/components/menu.d.ts +4 -198
- package/dist/components/popover.d.mts +2 -46
- package/dist/components/popover.d.ts +2 -46
- package/dist/components/select.d.mts +19 -197
- package/dist/components/select.d.ts +19 -197
- package/dist/components/skip-nav-link.d.mts +1 -15
- package/dist/components/skip-nav-link.d.ts +1 -15
- package/dist/components/spinner.d.mts +1 -74
- package/dist/components/spinner.d.ts +1 -74
- package/dist/components/tabs.d.mts +9 -198
- package/dist/components/tabs.d.ts +9 -198
- package/dist/components/tag-field.d.mts +1 -79
- package/dist/components/tag-field.d.ts +1 -79
- package/dist/components/text-area.d.mts +1 -62
- package/dist/components/text-area.d.ts +1 -62
- package/dist/components/toggle.d.mts +1 -68
- package/dist/components/toggle.d.ts +1 -68
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/utils/classes.d.mts +1 -27
- package/dist/utils/classes.d.ts +1 -27
- package/dist/utils/index.d.mts +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/tv.d.mts +1 -12
- package/dist/utils/tv.d.ts +1 -12
- package/package.json +6 -5
package/dist/utils/tv.d.ts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
|
|
3
|
-
declare const tv: tailwind_variants.CreateTV
|
|
4
|
-
twMergeConfig: {
|
|
5
|
-
extend: {
|
|
6
|
-
theme: {};
|
|
7
|
-
classGroups: {
|
|
8
|
-
prose: {
|
|
9
|
-
prose: (() => boolean)[];
|
|
10
|
-
}[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
}>;
|
|
3
|
+
declare const tv: tailwind_variants.CreateTV;
|
|
15
4
|
|
|
16
5
|
export { tv };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengovsg/oui-theme",
|
|
3
|
-
"version": "0.0.0-snapshot-
|
|
3
|
+
"version": "0.0.0-snapshot-20250808095255",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"./tailwind.css": "./src/tailwind.css"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
"tailwind-variants": "^2.1.0",
|
|
24
25
|
"@types/lodash-es": "^4.17.12",
|
|
25
26
|
"@types/react": "^19.0.12",
|
|
26
27
|
"@types/react-dom": "^19.0.4",
|
|
@@ -29,9 +30,9 @@
|
|
|
29
30
|
"tailwindcss": "4.0.6",
|
|
30
31
|
"tsup": "^8.3.6",
|
|
31
32
|
"typescript": "5.7.3",
|
|
32
|
-
"@oui/eslint-config": "0.0.0",
|
|
33
33
|
"@oui/prettier-config": "0.0.0",
|
|
34
|
-
"@oui/typescript-config": "0.0.0"
|
|
34
|
+
"@oui/typescript-config": "0.0.0",
|
|
35
|
+
"@oui/eslint-config": "0.0.0"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
38
|
"@tailwindcss/vite": "4.0.6",
|
|
@@ -39,12 +40,12 @@
|
|
|
39
40
|
"lodash-es": "^4.17.21",
|
|
40
41
|
"react": "^19.0.0",
|
|
41
42
|
"tailwind-merge": "^3.0.1",
|
|
42
|
-
"tailwind-variants": "^0.3.1",
|
|
43
43
|
"tailwindcss-react-aria-components": "^2.0.0",
|
|
44
44
|
"tw-animate-css": "^1.2.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"tailwindcss": ">=4"
|
|
47
|
+
"tailwindcss": ">=4",
|
|
48
|
+
"tailwind-variants": ">=2"
|
|
48
49
|
},
|
|
49
50
|
"prettier": "@oui/prettier-config",
|
|
50
51
|
"scripts": {
|