@clubmed/trident-ui 1.3.0-beta.4 → 1.3.0-beta.6
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/CHANGELOG.md +19 -0
- package/assets/style.css +1 -1
- package/chunks/_commonjsHelpers.js +24 -4
- package/chunks/_commonjsHelpers.js.map +1 -1
- package/chunks/index.js.map +1 -1
- package/chunks/plugin.js +53 -0
- package/chunks/plugin.js.map +1 -0
- package/contexts/Device.d.ts +2 -22
- package/contexts/Device.js +5 -59
- package/contexts/Device.js.map +1 -1
- package/contexts/Devices/Device.d.ts +11 -0
- package/contexts/Devices/Device.js +23 -0
- package/contexts/Devices/Device.js.map +1 -0
- package/contexts/Devices/hooks/useQueries.d.ts +6 -0
- package/contexts/Devices/hooks/useQueries.js +24 -0
- package/contexts/Devices/hooks/useQueries.js.map +1 -0
- package/contexts/Devices/reducers/reducer.d.ts +25 -0
- package/contexts/Devices/reducers/reducer.js +50 -0
- package/contexts/Devices/reducers/reducer.js.map +1 -0
- package/contexts/TridentUIConfig.js +228 -228
- package/contexts/TridentUIConfig.js.map +1 -1
- package/hooks/keyboard.constants.js.map +1 -1
- package/hooks/useInternalStatus.js.map +1 -1
- package/hooks/useKeyboardControls.js.map +1 -1
- package/hooks/useSafeBoop.js.map +1 -1
- package/hooks/useValue.js.map +1 -1
- package/molecules/Arrows/Arrows.d.ts +16 -0
- package/molecules/Arrows/Arrows.js +66 -0
- package/molecules/Arrows/Arrows.js.map +1 -0
- package/molecules/Arrows/ArrowsLabels.d.js +2 -0
- package/molecules/Arrows/ArrowsLabels.d.js.map +1 -0
- package/molecules/Arrows.d.ts +1 -50
- package/molecules/Arrows.js +2 -56
- package/molecules/Arrows.js.map +1 -1
- package/molecules/Avatar.js.map +1 -1
- package/molecules/Backdrop.js.map +1 -1
- package/molecules/Breadcrumb.js.map +1 -1
- package/molecules/Buttons/ArrowButton.d.ts +7 -0
- package/molecules/Buttons/ArrowButton.js +14 -0
- package/molecules/Buttons/ArrowButton.js.map +1 -0
- package/molecules/Buttons/Button.d.ts +13 -34
- package/molecules/Buttons/Button.js +50 -42
- package/molecules/Buttons/Button.js.map +1 -1
- package/molecules/Buttons/ButtonAnchor.d.ts +2 -3
- package/molecules/Buttons/ButtonAnchor.js +14 -36
- package/molecules/Buttons/ButtonAnchor.js.map +1 -1
- package/molecules/Buttons/ButtonContent.d.ts +11 -3
- package/molecules/Buttons/ButtonContent.js +13 -6
- package/molecules/Buttons/ButtonContent.js.map +1 -1
- package/molecules/Buttons/FakeButton.d.ts +7 -0
- package/molecules/Buttons/FakeButton.js +27 -0
- package/molecules/Buttons/FakeButton.js.map +1 -0
- package/molecules/Buttons/InertButton.d.ts +4 -0
- package/molecules/Buttons/InertButton.js +14 -31
- package/molecules/Buttons/InertButton.js.map +1 -1
- package/molecules/Buttons/v2/Button.d.ts +10 -0
- package/molecules/Buttons/v2/Button.js +32 -0
- package/molecules/Buttons/v2/Button.js.map +1 -0
- package/molecules/Buttons/v2/Button.type.d.ts +54 -0
- package/molecules/Buttons/v2/Button.type.js +42 -0
- package/molecules/Buttons/v2/Button.type.js.map +1 -0
- package/molecules/Buttons/v2/ButtonAnchor.d.ts +12 -0
- package/molecules/Buttons/v2/ButtonAnchor.js +32 -0
- package/molecules/Buttons/v2/ButtonAnchor.js.map +1 -0
- package/molecules/Card.js.map +1 -1
- package/molecules/ElasticHeight.js.map +1 -1
- package/molecules/Forms/Checkboxes/Checkbox.js.map +1 -1
- package/molecules/Forms/Checkboxes/Checkboxes.js.map +1 -1
- package/molecules/Forms/DateField.js +142 -115
- package/molecules/Forms/DateField.js.map +1 -1
- package/molecules/Forms/Filter.js.map +1 -1
- package/molecules/Forms/FormControl.js.map +1 -1
- package/molecules/Forms/FormLabel.js.map +1 -1
- package/molecules/Forms/NumberField.d.ts +15 -15
- package/molecules/Forms/NumberField.js +68 -68
- package/molecules/Forms/NumberField.js.map +1 -1
- package/molecules/Forms/Password/Password.js.map +1 -1
- package/molecules/Forms/Password/ValidationMessage.js.map +1 -1
- package/molecules/Forms/Radios/Radio.js.map +1 -1
- package/molecules/Forms/Radios/RadioGroup.js +2 -2
- package/molecules/Forms/Radios/RadioGroup.js.map +1 -1
- package/molecules/Forms/Range.js.map +1 -1
- package/molecules/Forms/Select.js.map +1 -1
- package/molecules/Forms/Switch.js.map +1 -1
- package/molecules/Forms/TextField.js.map +1 -1
- package/molecules/HamburgerIcon.js.map +1 -1
- package/molecules/Link.js.map +1 -1
- package/molecules/Loader.js.map +1 -1
- package/molecules/Pagination.d.ts +2 -1
- package/molecules/Pagination.helper.js.map +1 -1
- package/molecules/Pagination.js +67 -45
- package/molecules/Pagination.js.map +1 -1
- package/molecules/Popin.js +16 -16
- package/molecules/Popin.js.map +1 -1
- package/molecules/Spinner.js.map +1 -1
- package/molecules/Tabs/Tab.js.map +1 -1
- package/molecules/Tabs/TabList.js.map +1 -1
- package/molecules/Tabs/TabPanel.js.map +1 -1
- package/molecules/Tabs/Tabs.js.map +1 -1
- package/molecules/Tabs/TabsBody.js.map +1 -1
- package/molecules/Tabs/context/TabControl.js.map +1 -1
- package/molecules/Tabs/hooks/tabControl.js.map +1 -1
- package/molecules/Tabs/theme.js.map +1 -1
- package/package.json +11 -11
- package/styles/globals.css +12 -15
- package/tailwind/colors.d.ts +38 -0
- package/tailwind/colors.js +44 -0
- package/tailwind/colors.js.map +1 -0
- package/tailwind/plugins/animationDelay.d.ts +4 -0
- package/tailwind/plugins/animationDelay.js +15 -0
- package/tailwind/plugins/animationDelay.js.map +1 -0
- package/tailwind/plugins/hocus.d.ts +4 -0
- package/tailwind/plugins/hocus.js +11 -0
- package/tailwind/plugins/hocus.js.map +1 -0
- package/tailwind/plugins/lineClampFix.d.ts +4 -0
- package/tailwind/plugins/lineClampFix.js +13 -0
- package/tailwind/plugins/lineClampFix.js.map +1 -0
- package/tailwind/plugins/popover.d.ts +4 -0
- package/tailwind/plugins/popover.js +8 -0
- package/tailwind/plugins/popover.js.map +1 -0
- package/tailwind/plugins/startingStyle.d.ts +4 -0
- package/tailwind/plugins/startingStyle.js +8 -0
- package/tailwind/plugins/startingStyle.js.map +1 -0
- package/tailwind/plugins/transitionBehavior.d.ts +4 -0
- package/tailwind/plugins/transitionBehavior.js +11 -0
- package/tailwind/plugins/transitionBehavior.js.map +1 -0
- package/tailwind/tailwind.preset.d.ts +730 -510
- package/tailwind/tailwind.preset.js +705 -631
- package/tailwind/tailwind.preset.js.map +1 -1
- package/types/Colors.d.js +2 -0
- package/types/Colors.d.js.map +1 -0
- package/types/Devices.d.ts +8 -0
- package/types/Devices.js +11 -0
- package/types/Devices.js.map +1 -0
- package/types/Direction.d.js +2 -0
- package/types/Direction.d.js.map +1 -0
- package/types/ScrollerLabels.d.js +2 -0
- package/types/ScrollerLabels.d.js.map +1 -0
- package/molecules/Buttons/Button.helpers.d.ts +0 -8
- package/molecules/Buttons/Button.helpers.js +0 -12
- package/molecules/Buttons/Button.helpers.js.map +0 -1
- package/molecules/Buttons/Button.themes.d.ts +0 -1
- package/molecules/Buttons/Button.themes.js +0 -25
- package/molecules/Buttons/Button.themes.js.map +0 -1
package/styles/globals.css
CHANGED
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
--color-sienna-active: 13deg 48% 44%;
|
|
26
26
|
--color-wave: 180 100% 25%;
|
|
27
27
|
--color-wave-active: 180 100% 22%;
|
|
28
|
+
--color-marygold: 35 100% 49%;
|
|
29
|
+
--color-marygold-active: 35 100% 49%;
|
|
28
30
|
--color-white: 0deg 0% 100%;
|
|
29
31
|
--color-white-active: 0deg 0% 80%;
|
|
30
32
|
|
|
@@ -35,16 +37,17 @@
|
|
|
35
37
|
--color-lightGrey: 0deg 0% 80%;
|
|
36
38
|
--color-pearl: 0deg 0% 97%;
|
|
37
39
|
--color-green: 131deg 89% 29%;
|
|
40
|
+
--color-green-active: 131deg 89% 19%;
|
|
38
41
|
--color-red: 9deg 79% 42%;
|
|
42
|
+
--color-red-active: 9deg 79% 32%;
|
|
39
43
|
--color-orange: 25deg 100% 39%;
|
|
44
|
+
--color-orange-active: 25deg 100% 29%;
|
|
40
45
|
|
|
41
46
|
/* TRANSITION */
|
|
42
47
|
--transition-fn-boop: cubic-bezier(0.47, 1.64, 0.41, 0.8);
|
|
43
48
|
--transition-duration-boop: 0.4s;
|
|
44
49
|
}
|
|
45
|
-
}
|
|
46
50
|
|
|
47
|
-
@layer components {
|
|
48
51
|
html {
|
|
49
52
|
--xDirCoefficient: 1;
|
|
50
53
|
scroll-behavior: smooth;
|
|
@@ -69,7 +72,9 @@
|
|
|
69
72
|
}
|
|
70
73
|
|
|
71
74
|
.link-container:hover .link-underline.hoverable,
|
|
72
|
-
.link-container:focus .link-underline.hoverable
|
|
75
|
+
.link-container:focus .link-underline.hoverable,
|
|
76
|
+
.group:hover .link-underline.hoverable,
|
|
77
|
+
.group:focus .link-underline.hoverable {
|
|
73
78
|
background-size: calc(0% - 0px) 100%;
|
|
74
79
|
}
|
|
75
80
|
|
|
@@ -83,11 +88,13 @@
|
|
|
83
88
|
}
|
|
84
89
|
|
|
85
90
|
/* INPUTS */
|
|
91
|
+
|
|
92
|
+
/* Remove the reset button in active inputs */
|
|
93
|
+
input[type='search']::-webkit-search-cancel-button,
|
|
86
94
|
input[type='number']::-webkit-inner-spin-button,
|
|
87
95
|
input[type='number']::-webkit-outer-spin-button {
|
|
88
|
-
appearance
|
|
96
|
+
@apply appearance-none;
|
|
89
97
|
}
|
|
90
|
-
|
|
91
98
|
input[type='password']::-ms-reveal {
|
|
92
99
|
display: none;
|
|
93
100
|
}
|
|
@@ -114,14 +121,4 @@
|
|
|
114
121
|
@apply justify-between;
|
|
115
122
|
@apply uppercase;
|
|
116
123
|
}
|
|
117
|
-
|
|
118
|
-
/* SCROLLS */
|
|
119
|
-
.scrollbar-hide::-webkit-scrollbar {
|
|
120
|
-
display: none;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.scrollbar-hide {
|
|
124
|
-
-ms-overflow-style: none;
|
|
125
|
-
scrollbar-width: none;
|
|
126
|
-
}
|
|
127
124
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const COLORS: {
|
|
2
|
+
current: string;
|
|
3
|
+
transparent: string;
|
|
4
|
+
inherit: string;
|
|
5
|
+
black: string;
|
|
6
|
+
'black-active': string;
|
|
7
|
+
ultramarine: string;
|
|
8
|
+
'ultramarine-active': string;
|
|
9
|
+
lavender: string;
|
|
10
|
+
'lavender-active': string;
|
|
11
|
+
verdigris: string;
|
|
12
|
+
'verdigris-active': string;
|
|
13
|
+
sand: string;
|
|
14
|
+
'sand-active': string;
|
|
15
|
+
lightSand: string;
|
|
16
|
+
'lightSand-active': string;
|
|
17
|
+
saffron: string;
|
|
18
|
+
'saffron-active': string;
|
|
19
|
+
sienna: string;
|
|
20
|
+
'sienna-active': string;
|
|
21
|
+
wave: string;
|
|
22
|
+
'wave-active': string;
|
|
23
|
+
marygold: string;
|
|
24
|
+
'marygold-active': string;
|
|
25
|
+
white: string;
|
|
26
|
+
'white-active': string;
|
|
27
|
+
darkGrey: string;
|
|
28
|
+
middleGrey: string;
|
|
29
|
+
grey: string;
|
|
30
|
+
lightGrey: string;
|
|
31
|
+
pearl: string;
|
|
32
|
+
green: string;
|
|
33
|
+
'green-active': string;
|
|
34
|
+
red: string;
|
|
35
|
+
'red-active': string;
|
|
36
|
+
orange: string;
|
|
37
|
+
'orange-active': string;
|
|
38
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
current: "currentColor",
|
|
3
|
+
transparent: "transparent",
|
|
4
|
+
inherit: "inherit",
|
|
5
|
+
/* BRAND */
|
|
6
|
+
black: "hsl(var(--color-black) / <alpha-value>)",
|
|
7
|
+
"black-active": "hsl(var(--color-black-active) / <alpha-value>)",
|
|
8
|
+
ultramarine: "hsl(var(--color-ultramarine) / <alpha-value>)",
|
|
9
|
+
"ultramarine-active": "hsl(var(--color-ultramarine-active) / <alpha-value>)",
|
|
10
|
+
lavender: "hsl(var(--color-lavender) / <alpha-value>)",
|
|
11
|
+
"lavender-active": "hsl(var(--color-lavender-active) / <alpha-value>)",
|
|
12
|
+
verdigris: "hsl(var(--color-verdigris) / <alpha-value>)",
|
|
13
|
+
"verdigris-active": "hsl(var(--color-verdigris-active) / <alpha-value>)",
|
|
14
|
+
sand: "hsl(var(--color-sand) / <alpha-value>)",
|
|
15
|
+
"sand-active": "hsl(var(--color-sand-active) / <alpha-value>)",
|
|
16
|
+
lightSand: "hsl(var(--color-lightSand) / <alpha-value>)",
|
|
17
|
+
"lightSand-active": "hsl(var(--color-lightSand-active) / <alpha-value>)",
|
|
18
|
+
saffron: "hsl(var(--color-saffron) / <alpha-value>)",
|
|
19
|
+
"saffron-active": "hsl(var(--color-saffron-active) / <alpha-value>)",
|
|
20
|
+
sienna: "hsl(var(--color-sienna) / <alpha-value>)",
|
|
21
|
+
"sienna-active": "hsl(var(--color-sienna-active) / <alpha-value>)",
|
|
22
|
+
wave: "hsl(var(--color-wave) / <alpha-value>)",
|
|
23
|
+
"wave-active": "hsl(var(--color-wave-active) / <alpha-value>)",
|
|
24
|
+
marygold: "hsl(var(--color-marygold) / <alpha-value>)",
|
|
25
|
+
"marygold-active": "hsl(var(--color-marygold-active) / <alpha-value>)",
|
|
26
|
+
white: "hsl(var(--color-white) / <alpha-value>)",
|
|
27
|
+
"white-active": "hsl(var(--color-white-active) / <alpha-value>)",
|
|
28
|
+
/* LAYOUT */
|
|
29
|
+
darkGrey: "hsl(var(--color-darkGrey) / <alpha-value>)",
|
|
30
|
+
middleGrey: "hsl(var(--color-middleGrey) / <alpha-value>)",
|
|
31
|
+
grey: "hsl(var(--color-grey) / <alpha-value>)",
|
|
32
|
+
lightGrey: "hsl(var(--color-lightGrey) / <alpha-value>)",
|
|
33
|
+
pearl: "hsl(var(--color-pearl) / <alpha-value>)",
|
|
34
|
+
green: "hsl(var(--color-green) / <alpha-value>)",
|
|
35
|
+
"green-active": "hsl(var(--color-green-active) / <alpha-value>)",
|
|
36
|
+
red: "hsl(var(--color-red) / <alpha-value>)",
|
|
37
|
+
"red-active": "hsl(var(--color-red-active) / <alpha-value>)",
|
|
38
|
+
orange: "hsl(var(--color-orange) / <alpha-value>)",
|
|
39
|
+
"orange-active": "hsl(var(--color-orange-active) / <alpha-value>)"
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
a as COLORS
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sources":["../../lib/tailwind/colors.ts"],"sourcesContent":["export const COLORS = {\n current: 'currentColor',\n transparent: 'transparent',\n inherit: 'inherit',\n\n /* BRAND */\n black: 'hsl(var(--color-black) / <alpha-value>)',\n 'black-active': 'hsl(var(--color-black-active) / <alpha-value>)',\n ultramarine: 'hsl(var(--color-ultramarine) / <alpha-value>)',\n 'ultramarine-active': 'hsl(var(--color-ultramarine-active) / <alpha-value>)',\n lavender: 'hsl(var(--color-lavender) / <alpha-value>)',\n 'lavender-active': 'hsl(var(--color-lavender-active) / <alpha-value>)',\n verdigris: 'hsl(var(--color-verdigris) / <alpha-value>)',\n 'verdigris-active': 'hsl(var(--color-verdigris-active) / <alpha-value>)',\n sand: 'hsl(var(--color-sand) / <alpha-value>)',\n 'sand-active': 'hsl(var(--color-sand-active) / <alpha-value>)',\n lightSand: 'hsl(var(--color-lightSand) / <alpha-value>)',\n 'lightSand-active': 'hsl(var(--color-lightSand-active) / <alpha-value>)',\n saffron: 'hsl(var(--color-saffron) / <alpha-value>)',\n 'saffron-active': 'hsl(var(--color-saffron-active) / <alpha-value>)',\n sienna: 'hsl(var(--color-sienna) / <alpha-value>)',\n 'sienna-active': 'hsl(var(--color-sienna-active) / <alpha-value>)',\n wave: 'hsl(var(--color-wave) / <alpha-value>)',\n 'wave-active': 'hsl(var(--color-wave-active) / <alpha-value>)',\n marygold: 'hsl(var(--color-marygold) / <alpha-value>)',\n 'marygold-active': 'hsl(var(--color-marygold-active) / <alpha-value>)',\n white: 'hsl(var(--color-white) / <alpha-value>)',\n 'white-active': 'hsl(var(--color-white-active) / <alpha-value>)',\n\n /* LAYOUT */\n darkGrey: 'hsl(var(--color-darkGrey) / <alpha-value>)',\n middleGrey: 'hsl(var(--color-middleGrey) / <alpha-value>)',\n grey: 'hsl(var(--color-grey) / <alpha-value>)',\n lightGrey: 'hsl(var(--color-lightGrey) / <alpha-value>)',\n pearl: 'hsl(var(--color-pearl) / <alpha-value>)',\n green: 'hsl(var(--color-green) / <alpha-value>)',\n 'green-active': 'hsl(var(--color-green-active) / <alpha-value>)',\n red: 'hsl(var(--color-red) / <alpha-value>)',\n 'red-active': 'hsl(var(--color-red-active) / <alpha-value>)',\n orange: 'hsl(var(--color-orange) / <alpha-value>)',\n 'orange-active': 'hsl(var(--color-orange-active) / <alpha-value>)',\n};\n"],"names":["COLORS"],"mappings":"AAAO,MAAMA,IAAS;AAAA,EACpB,SAAS;AAAA,EACT,aAAa;AAAA,EACb,SAAS;AAAA;AAAA,EAGT,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,sBAAsB;AAAA,EACtB,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,oBAAoB;AAAA,EACpB,MAAM;AAAA,EACN,eAAe;AAAA,EACf,WAAW;AAAA,EACX,oBAAoB;AAAA,EACpB,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,QAAQ;AAAA,EACR,iBAAiB;AAAA,EACjB,MAAM;AAAA,EACN,eAAe;AAAA,EACf,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,OAAO;AAAA,EACP,gBAAgB;AAAA;AAAA,EAGhB,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,WAAW;AAAA,EACX,OAAO;AAAA,EACP,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,KAAK;AAAA,EACL,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,iBAAiB;AACnB;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { p as o } from "../../chunks/plugin.js";
|
|
2
|
+
const e = o(({ matchUtilities: a, theme: i }) => {
|
|
3
|
+
a(
|
|
4
|
+
{
|
|
5
|
+
"animation-delay": (n) => ({
|
|
6
|
+
animationDelay: n
|
|
7
|
+
})
|
|
8
|
+
},
|
|
9
|
+
{ values: i("animationDelay") }
|
|
10
|
+
);
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
e as animationDelay
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=animationDelay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animationDelay.js","sources":["../../../lib/tailwind/plugins/animationDelay.ts"],"sourcesContent":["import plugin from 'tailwindcss/plugin';\n\nexport const animationDelay = plugin(({ matchUtilities, theme }) => {\n matchUtilities(\n {\n 'animation-delay': (value) => ({\n animationDelay: value,\n }),\n },\n { values: theme('animationDelay') },\n );\n});\n"],"names":["animationDelay","plugin","matchUtilities","theme","value"],"mappings":";AAEO,MAAMA,IAAiBC,EAAO,CAAC,EAAE,gBAAAC,GAAgB,OAAAC,QAAY;AAClE,EAAAD;AAAA,IACE;AAAA,MACE,mBAAmB,CAACE,OAAW;AAAA,QAC7B,gBAAgBA;AAAA,MAAA;AAAA,IAClB;AAAA,IAEF,EAAE,QAAQD,EAAM,gBAAgB,EAAA;AAAA,EAAE;AAEtC,CAAC;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { p as e } from "../../chunks/plugin.js";
|
|
2
|
+
const i = e(({ addVariant: o }) => {
|
|
3
|
+
o("hocus", [
|
|
4
|
+
"@media (hover:hover) and (pointer: fine) { &:hover }",
|
|
5
|
+
"@media (hover:hover) and (pointer: fine) { &:focus }"
|
|
6
|
+
]);
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
i as hocus
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=hocus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hocus.js","sources":["../../../lib/tailwind/plugins/hocus.ts"],"sourcesContent":["import plugin from 'tailwindcss/plugin';\n\nexport const hocus = plugin(({ addVariant }) => {\n addVariant('hocus', [\n '@media (hover:hover) and (pointer: fine) { &:hover }',\n '@media (hover:hover) and (pointer: fine) { &:focus }',\n ]);\n});\n"],"names":["hocus","plugin","addVariant"],"mappings":";AAEO,MAAMA,IAAQC,EAAO,CAAC,EAAE,YAAAC,QAAiB;AAC9C,EAAAA,EAAW,SAAS;AAAA,IAClB;AAAA,IACA;AAAA,EAAA,CACD;AACH,CAAC;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { p as a } from "../../chunks/plugin.js";
|
|
2
|
+
const n = 7, p = a(({ addUtilities: t }) => {
|
|
3
|
+
const l = {};
|
|
4
|
+
for (let i = 1; i <= n; i++)
|
|
5
|
+
l[`.line-clamp-${i}`] = {
|
|
6
|
+
maxHeight: `${i}lh`
|
|
7
|
+
};
|
|
8
|
+
t(l);
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
p as lineClampSafariFix
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=lineClampFix.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineClampFix.js","sources":["../../../lib/tailwind/plugins/lineClampFix.ts"],"sourcesContent":["import plugin from 'tailwindcss/plugin';\nimport type { CSSRuleObject } from 'tailwindcss/types/config';\n\nconst MAX_LINE_CLAMP = 7;\n\nexport const lineClampSafariFix = plugin(({ addUtilities }) => {\n const lineclampUtility: CSSRuleObject = {};\n\n // Generate dynamic classes for line clamp\n for (let i = 1; i <= MAX_LINE_CLAMP; i++) {\n lineclampUtility[`.line-clamp-${i}`] = {\n maxHeight: `${i}lh`,\n };\n }\n\n addUtilities(lineclampUtility);\n});\n"],"names":["MAX_LINE_CLAMP","lineClampSafariFix","plugin","addUtilities","lineclampUtility"],"mappings":";AAGA,MAAMA,IAAiB,GAEVC,IAAqBC,EAAO,CAAC,EAAE,cAAAC,QAAmB;AAC7D,QAAMC,IAAkC,CAAA;AAGxC,WAAS,IAAI,GAAG,KAAKJ,GAAgB;AACnC,IAAAI,EAAiB,eAAe,CAAC,EAAE,IAAI;AAAA,MACrC,WAAW,GAAG,CAAC;AAAA,IAAA;AAInB,EAAAD,EAAaC,CAAgB;AAC/B,CAAC;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.js","sources":["../../../lib/tailwind/plugins/popover.ts"],"sourcesContent":["import plugin from 'tailwindcss/plugin';\n\nexport const popover = plugin(({ addVariant }) => {\n addVariant('open', '&:popover-open');\n});\n"],"names":["popover","plugin","addVariant"],"mappings":";AAEO,MAAMA,IAAUC,EAAO,CAAC,EAAE,YAAAC,QAAiB;AAChD,EAAAA,EAAW,QAAQ,gBAAgB;AACrC,CAAC;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startingStyle.js","sources":["../../../lib/tailwind/plugins/startingStyle.ts"],"sourcesContent":["import plugin from 'tailwindcss/plugin';\n\nexport const startingStyle = plugin(({ addVariant }) => {\n addVariant('starting', '@starting-style');\n});\n"],"names":["startingStyle","plugin","addVariant"],"mappings":";AAEO,MAAMA,IAAgBC,EAAO,CAAC,EAAE,YAAAC,QAAiB;AACtD,EAAAA,EAAW,YAAY,iBAAiB;AAC1C,CAAC;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { p as o } from "../../chunks/plugin.js";
|
|
2
|
+
const t = o(({ addUtilities: i }) => {
|
|
3
|
+
i({
|
|
4
|
+
".transition-discrete": { transitionBehavior: "allow-discrete" },
|
|
5
|
+
".transition-normal": { transitionBehavior: "normal" }
|
|
6
|
+
});
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
t as transitionBehavior
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=transitionBehavior.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transitionBehavior.js","sources":["../../../lib/tailwind/plugins/transitionBehavior.ts"],"sourcesContent":["import plugin from 'tailwindcss/plugin';\n\nexport const transitionBehavior = plugin(({ addUtilities }) => {\n addUtilities({\n '.transition-discrete': { transitionBehavior: 'allow-discrete' },\n '.transition-normal': { transitionBehavior: 'normal' },\n });\n});\n"],"names":["transitionBehavior","plugin","addUtilities"],"mappings":";AAEO,MAAMA,IAAqBC,EAAO,CAAC,EAAE,cAAAC,QAAmB;AAC7D,EAAAA,EAAa;AAAA,IACX,wBAAwB,EAAE,oBAAoB,iBAAA;AAAA,IAC9C,sBAAsB,EAAE,oBAAoB,SAAA;AAAA,EAAS,CACtD;AACH,CAAC;"}
|