@dcodegroup-au/dsg-vue 0.1.40 → 1.0.1-next.1
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/README.md +67 -8
- package/dist/DsgLabel.vue_vue_type_style_index_0_lang-CzkVjbOp.js +26 -0
- package/dist/DsgLabel.vue_vue_type_style_index_0_lang-WrIgmJyQ.cjs +1 -0
- package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-CmNG2Wig.cjs → DsgTablePerPage.vue_vue_type_style_index_0_lang-eTosSqko.cjs} +1217 -1197
- package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-BoJ6hpYL.js → DsgTablePerPage.vue_vue_type_style_index_0_lang-gN_n5gOu.js} +5742 -5750
- package/dist/components/Elements/DsgAccordion.vue.d.ts +0 -1
- package/dist/components/Elements/DsgAvatar.vue.d.ts +0 -1
- package/dist/components/Elements/DsgBadge.vue.d.ts +0 -1
- package/dist/components/Elements/DsgButton.vue.d.ts +0 -1
- package/dist/components/Elements/DsgCard.vue.d.ts +1 -2
- package/dist/components/Elements/DsgCardContainer.vue.d.ts +1 -1
- package/dist/components/Elements/DsgCheckbox.vue.d.ts +0 -1
- package/dist/components/Elements/DsgCheckboxGroup.vue.d.ts +2 -2
- package/dist/components/Elements/DsgDropdown.vue.d.ts +0 -5
- package/dist/components/Elements/DsgInput.vue.d.ts +0 -1
- package/dist/components/Elements/DsgLabel.vue.d.ts +1 -2
- package/dist/components/Elements/DsgProgress.vue.d.ts +1 -1
- package/dist/components/Elements/DsgTag.vue.d.ts +0 -1
- package/dist/components/Elements/DsgToggle.vue.d.ts +1 -2
- package/dist/components/Elements/ElementComponents.d.ts +1 -3
- package/dist/components/Icons/DsgCreditCardIcon.vue.d.ts +0 -1
- package/dist/components/Icons/DsgIcon.vue.d.ts +0 -2
- package/dist/components/Icons/DsgMiscIcon.vue.d.ts +0 -1
- package/dist/dsg-vue.cjs +32 -11
- package/dist/dsg-vue.css +2 -2
- package/dist/dsg-vue.editor.cjs +33 -33
- package/dist/dsg-vue.editor.esm.js +6 -7
- package/dist/dsg-vue.esm.js +2969 -3061
- package/dist/dsg-vue.table.cjs +2 -2
- package/dist/dsg-vue.table.esm.js +65 -62
- package/dist/main.d.ts +4 -82
- package/package.json +6 -3
- package/vite.config.ts +10 -7
- package/dist/DsgColoursConfig-BseFo6-R.js +0 -450
- package/dist/DsgColoursConfig-D7UiFGB5.cjs +0 -1
- package/dist/DsgLabel.vue_vue_type_style_index_0_lang-BYL1w85l.js +0 -28
- package/dist/DsgLabel.vue_vue_type_style_index_0_lang-DAM6oT0f.cjs +0 -1
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
- package/dist/components/Elements/DsgInputDropdown.vue.d.ts +0 -30
- package/dist/components/Elements/DsgLink.vue.d.ts +0 -36
- package/dist/dsg-vue.tailwind.cjs +0 -1
- package/dist/dsg-vue.tailwind.esm.js +0 -610
- package/dist/tailwind/plugins/DsgBackdropBlurPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgColoursPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgContainerPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgFocusRingPlugin.d.ts +0 -28
- package/dist/tailwind/plugins/DsgFontFamilyPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgGradientPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgHeightPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgRadiusPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgScreenPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgShadowsPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgSpacingPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgTypographyPlugin.d.ts +0 -80
- package/dist/tailwind/plugins/DsgWidthPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/PluginCore.d.ts +0 -17
- package/dist/tailwind.d.ts +0 -866
package/vite.config.ts
CHANGED
|
@@ -4,6 +4,8 @@ import vue from "@vitejs/plugin-vue";
|
|
|
4
4
|
import svgLoader from "vite-svg-loader";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import dts from "vite-plugin-dts";
|
|
7
|
+
import tailwindcss from "@tailwindcss/vite";
|
|
8
|
+
import { resolve } from "path";
|
|
7
9
|
|
|
8
10
|
// # Build/Export: Vite Configuration
|
|
9
11
|
export default defineConfig(({ command, mode }) => {
|
|
@@ -24,7 +26,7 @@ export default defineConfig(({ command, mode }) => {
|
|
|
24
26
|
"dsg-vue": path.resolve(__dirname, "./src/main.ts"),
|
|
25
27
|
editor: path.resolve(__dirname, "./src/editor.ts"),
|
|
26
28
|
table: path.resolve(__dirname, "./src/table.ts"),
|
|
27
|
-
tailwind: path.resolve(__dirname, "./src/tailwind.ts"),
|
|
29
|
+
// tailwind: path.resolve(__dirname, "./src/tailwind.ts"),
|
|
28
30
|
helpers: path.resolve(__dirname, "./src/utilities/General.ts"),
|
|
29
31
|
"helpers-string": path.resolve(__dirname, "./src/utilities/Strings.ts"),
|
|
30
32
|
"helpers-object": path.resolve(__dirname, "./src/utilities/Objects.ts"),
|
|
@@ -52,7 +54,6 @@ export default defineConfig(({ command, mode }) => {
|
|
|
52
54
|
"~": path.resolve(__dirname),
|
|
53
55
|
"~nm": path.resolve(__dirname, "./node_modules"),
|
|
54
56
|
"@components": path.resolve(__dirname, "src/components"),
|
|
55
|
-
"@tailwind": path.resolve(__dirname, "src/tailwind"),
|
|
56
57
|
"@tw": path.resolve(__dirname, "src/tailwind"),
|
|
57
58
|
"@twplugin": path.resolve(__dirname, "src/tailwind/plugins"),
|
|
58
59
|
"@twconfig": path.resolve(__dirname, "src/tailwind/configuration"),
|
|
@@ -62,6 +63,7 @@ export default defineConfig(({ command, mode }) => {
|
|
|
62
63
|
"@headers": path.resolve(__dirname, "src/components/Headers"),
|
|
63
64
|
"@misc": path.resolve(__dirname, "src/components/Misc"),
|
|
64
65
|
"@navigation": path.resolve(__dirname, "src/components/Navigation"),
|
|
66
|
+
"@tailwind": resolve(__dirname, "src/tailwind"),
|
|
65
67
|
// "vue": "vue/dist/vue.esm-bundler.js",
|
|
66
68
|
},
|
|
67
69
|
},
|
|
@@ -69,6 +71,7 @@ export default defineConfig(({ command, mode }) => {
|
|
|
69
71
|
publicDir: "public",
|
|
70
72
|
plugins: [
|
|
71
73
|
vue(),
|
|
74
|
+
tailwindcss(),
|
|
72
75
|
dts({
|
|
73
76
|
tsconfigPath: "./tsconfig.json",
|
|
74
77
|
exclude: ["**/tests/**/*", "demo/**/*.ts", "demo/**/*.vue", "docs/**/*.ts", "docs/**/*.vue", "node_modules", "dist"],
|
|
@@ -77,12 +80,12 @@ export default defineConfig(({ command, mode }) => {
|
|
|
77
80
|
],
|
|
78
81
|
test: {
|
|
79
82
|
globals: true,
|
|
80
|
-
environment:
|
|
81
|
-
setupFiles:
|
|
82
|
-
include: [
|
|
83
|
+
environment: "jsdom",
|
|
84
|
+
setupFiles: "./tests/setup.ts",
|
|
85
|
+
include: ["tests/**/*.test.ts"],
|
|
83
86
|
coverage: {
|
|
84
|
-
reporter: [
|
|
87
|
+
reporter: ["text", "html"],
|
|
85
88
|
},
|
|
86
|
-
},
|
|
89
|
+
},
|
|
87
90
|
} satisfies UserConfig;
|
|
88
91
|
});
|
|
@@ -1,450 +0,0 @@
|
|
|
1
|
-
const e = (D, A) => {
|
|
2
|
-
const C = parseInt(D.slice(1, 3), 16), r = parseInt(D.slice(3, 5), 16), B = parseInt(D.slice(5, 7), 16);
|
|
3
|
-
return A ? `rgba(${C}, ${r}, ${B}, ${A})` : `rgb(${C}, ${r}, ${B})`;
|
|
4
|
-
}, a = (D) => /^#[0-9A-F]{6}$/i.test(D), E = {
|
|
5
|
-
brand: {
|
|
6
|
-
25: "#F0F9F8",
|
|
7
|
-
50: "#DEF2EF",
|
|
8
|
-
100: "#CFECE7",
|
|
9
|
-
200: "#A7DDD3",
|
|
10
|
-
300: "#7ECDBE",
|
|
11
|
-
400: "#04B594",
|
|
12
|
-
500: "#04A385",
|
|
13
|
-
600: "#037F68",
|
|
14
|
-
700: "#026D59",
|
|
15
|
-
800: "#025B4A",
|
|
16
|
-
900: "#02483B",
|
|
17
|
-
950: "#01362C"
|
|
18
|
-
},
|
|
19
|
-
gray: {
|
|
20
|
-
25: "#FCFCFD",
|
|
21
|
-
50: "#F9FAFB",
|
|
22
|
-
100: "#F2F4F7",
|
|
23
|
-
200: "#EAECF0",
|
|
24
|
-
300: "#D0D5DD",
|
|
25
|
-
400: "#98A2B3",
|
|
26
|
-
500: "#667085",
|
|
27
|
-
600: "#475467",
|
|
28
|
-
700: "#344054",
|
|
29
|
-
800: "#182230",
|
|
30
|
-
900: "#101828",
|
|
31
|
-
950: "#0C111D"
|
|
32
|
-
},
|
|
33
|
-
success: {
|
|
34
|
-
25: "#F6FEF9",
|
|
35
|
-
50: "#ECFDF3",
|
|
36
|
-
100: "#DCFAE6",
|
|
37
|
-
200: "#A9EFC5",
|
|
38
|
-
300: "#75E0A7",
|
|
39
|
-
400: "#47CD89",
|
|
40
|
-
500: "#17B26A",
|
|
41
|
-
600: "#079455",
|
|
42
|
-
700: "#067647",
|
|
43
|
-
800: "#085D3A",
|
|
44
|
-
900: "#074D31",
|
|
45
|
-
950: "#053321"
|
|
46
|
-
},
|
|
47
|
-
warning: {
|
|
48
|
-
25: "#FFFCF5",
|
|
49
|
-
50: "#FFFAEB",
|
|
50
|
-
100: "#FEF0C7",
|
|
51
|
-
200: "#FEDF89",
|
|
52
|
-
300: "#FEC84B",
|
|
53
|
-
400: "#FDB022",
|
|
54
|
-
500: "#F79009",
|
|
55
|
-
600: "#DC6803",
|
|
56
|
-
700: "#B54708",
|
|
57
|
-
800: "#93370D",
|
|
58
|
-
900: "#7A2E0E",
|
|
59
|
-
950: "#4E1D09"
|
|
60
|
-
},
|
|
61
|
-
error: {
|
|
62
|
-
25: "#FFFBFA",
|
|
63
|
-
50: "#FEF3F2",
|
|
64
|
-
100: "#FEE4E2",
|
|
65
|
-
200: "#FECDCA",
|
|
66
|
-
300: "#FDA29B",
|
|
67
|
-
400: "#F97066",
|
|
68
|
-
500: "#F04438",
|
|
69
|
-
600: "#D92D20",
|
|
70
|
-
700: "#B42318",
|
|
71
|
-
800: "#912018",
|
|
72
|
-
900: "#7A271A",
|
|
73
|
-
950: "#55160C"
|
|
74
|
-
},
|
|
75
|
-
base: {
|
|
76
|
-
white: "#FFFFFF",
|
|
77
|
-
black: "#000000"
|
|
78
|
-
}
|
|
79
|
-
}, F = {
|
|
80
|
-
grayBlue: {
|
|
81
|
-
25: "#FCFCFD",
|
|
82
|
-
50: "#F8F9FC",
|
|
83
|
-
100: "#EAECF5",
|
|
84
|
-
200: "#D5D9EB",
|
|
85
|
-
300: "#B3B8DB",
|
|
86
|
-
400: "#717BBC",
|
|
87
|
-
500: "#4E5BA6",
|
|
88
|
-
600: "#3E4784",
|
|
89
|
-
700: "#363F72",
|
|
90
|
-
800: "#293056",
|
|
91
|
-
900: "#101323",
|
|
92
|
-
950: "#0D0F1C"
|
|
93
|
-
},
|
|
94
|
-
grayCool: {
|
|
95
|
-
25: "#FCFCFD",
|
|
96
|
-
50: "#F9F9FB",
|
|
97
|
-
100: "#EFF1F5",
|
|
98
|
-
200: "#DCDFEA",
|
|
99
|
-
300: "#B9C0D4",
|
|
100
|
-
400: "#7D89B0",
|
|
101
|
-
500: "#5D6B98",
|
|
102
|
-
600: "#4A5578",
|
|
103
|
-
700: "#404968",
|
|
104
|
-
800: "#30374F",
|
|
105
|
-
900: "#111322",
|
|
106
|
-
950: "#0E101B"
|
|
107
|
-
},
|
|
108
|
-
grayModern: {
|
|
109
|
-
25: "#FCFCFD",
|
|
110
|
-
50: "#F8FAFC",
|
|
111
|
-
100: "#EEF2F6",
|
|
112
|
-
200: "#E3E8EF",
|
|
113
|
-
300: "#CDD5DF",
|
|
114
|
-
400: "#9AA4B2",
|
|
115
|
-
500: "#697586",
|
|
116
|
-
600: "#4B5565",
|
|
117
|
-
700: "#364152",
|
|
118
|
-
800: "#202939",
|
|
119
|
-
900: "#121926",
|
|
120
|
-
950: "#0D121C"
|
|
121
|
-
},
|
|
122
|
-
grayNeutral: {
|
|
123
|
-
25: "#FCFCFD",
|
|
124
|
-
50: "#F9FAFB",
|
|
125
|
-
100: "#F3F4F6",
|
|
126
|
-
200: "#E5E7EB",
|
|
127
|
-
300: "#D2D6DB",
|
|
128
|
-
400: "#9DA4AE",
|
|
129
|
-
500: "#6C737F",
|
|
130
|
-
600: "#4D5761",
|
|
131
|
-
700: "#384250",
|
|
132
|
-
800: "#1F2A37",
|
|
133
|
-
900: "#111927",
|
|
134
|
-
950: "#0D121C"
|
|
135
|
-
},
|
|
136
|
-
grayIron: {
|
|
137
|
-
25: "#FCFCFC",
|
|
138
|
-
50: "#FAFAFA",
|
|
139
|
-
100: "#F4F4F5",
|
|
140
|
-
200: "#E4E4E7",
|
|
141
|
-
300: "#D1D1D6",
|
|
142
|
-
400: "#A0A0AB",
|
|
143
|
-
500: "#70707B",
|
|
144
|
-
600: "#51525C",
|
|
145
|
-
700: "#3F3F46",
|
|
146
|
-
800: "#26272B",
|
|
147
|
-
900: "#18181B",
|
|
148
|
-
950: "#131316"
|
|
149
|
-
},
|
|
150
|
-
grayTrue: {
|
|
151
|
-
25: "#FCFCFC",
|
|
152
|
-
50: "#FAFAFA",
|
|
153
|
-
100: "#F5F5F5",
|
|
154
|
-
200: "#E5E5E5",
|
|
155
|
-
300: "#D6D6D6",
|
|
156
|
-
400: "#A3A3A3",
|
|
157
|
-
500: "#737373",
|
|
158
|
-
600: "#525252",
|
|
159
|
-
700: "#424242",
|
|
160
|
-
800: "#292929",
|
|
161
|
-
900: "#141414",
|
|
162
|
-
950: "#0F0F0F"
|
|
163
|
-
},
|
|
164
|
-
grayWarm: {
|
|
165
|
-
25: "#FDFDFC",
|
|
166
|
-
50: "#FAFAF9",
|
|
167
|
-
100: "#F5F5F4",
|
|
168
|
-
200: "#E7E5E4",
|
|
169
|
-
300: "#D7D3D0",
|
|
170
|
-
400: "#A9A29D",
|
|
171
|
-
500: "#79716B",
|
|
172
|
-
600: "#57534E",
|
|
173
|
-
700: "#44403C",
|
|
174
|
-
800: "#292524",
|
|
175
|
-
900: "#1C1917",
|
|
176
|
-
950: "#171412"
|
|
177
|
-
},
|
|
178
|
-
moss: {
|
|
179
|
-
25: "#FAFDF7",
|
|
180
|
-
50: "#F5FBEE",
|
|
181
|
-
100: "#E6F4D7",
|
|
182
|
-
200: "#CEEAB0",
|
|
183
|
-
300: "#ACDC79",
|
|
184
|
-
400: "#86CB3C",
|
|
185
|
-
500: "#669F2A",
|
|
186
|
-
600: "#4F7A21",
|
|
187
|
-
700: "#3F621A",
|
|
188
|
-
800: "#335015",
|
|
189
|
-
900: "#2B4212",
|
|
190
|
-
950: "#1A280B"
|
|
191
|
-
},
|
|
192
|
-
greenLight: {
|
|
193
|
-
25: "#FAFEF5",
|
|
194
|
-
50: "#F3FEE7",
|
|
195
|
-
100: "#E3FBCC",
|
|
196
|
-
200: "#D0F8AB",
|
|
197
|
-
300: "#A6EF67",
|
|
198
|
-
400: "#85E13A",
|
|
199
|
-
500: "#66C61C",
|
|
200
|
-
600: "#4CA30D",
|
|
201
|
-
700: "#3B7C0F",
|
|
202
|
-
800: "#326212",
|
|
203
|
-
900: "#2B5314",
|
|
204
|
-
950: "#15290A"
|
|
205
|
-
},
|
|
206
|
-
green: {
|
|
207
|
-
25: "#F6FEF9",
|
|
208
|
-
50: "#EDFCF2",
|
|
209
|
-
100: "#D3F8DF",
|
|
210
|
-
200: "#AAF0C4",
|
|
211
|
-
300: "#73E2A3",
|
|
212
|
-
400: "#3CCB7F",
|
|
213
|
-
500: "#16B364",
|
|
214
|
-
600: "#099250",
|
|
215
|
-
700: "#087443",
|
|
216
|
-
800: "#095C37",
|
|
217
|
-
900: "#084C2E",
|
|
218
|
-
950: "#052E1C"
|
|
219
|
-
},
|
|
220
|
-
teal: {
|
|
221
|
-
25: "#F6FEFC",
|
|
222
|
-
50: "#F0FDF9",
|
|
223
|
-
100: "#CCFBEF",
|
|
224
|
-
200: "#99F6E0",
|
|
225
|
-
300: "#5FE9D0",
|
|
226
|
-
400: "#2ED3B7",
|
|
227
|
-
500: "#15B79E",
|
|
228
|
-
600: "#0E9384",
|
|
229
|
-
700: "#107569",
|
|
230
|
-
800: "#125D56",
|
|
231
|
-
900: "#134E48",
|
|
232
|
-
950: "#0A2926"
|
|
233
|
-
},
|
|
234
|
-
cyan: {
|
|
235
|
-
25: "#F5FEFF",
|
|
236
|
-
50: "#ECFDFF",
|
|
237
|
-
100: "#CFF9FE",
|
|
238
|
-
200: "#A5F0FC",
|
|
239
|
-
300: "#67E3F9",
|
|
240
|
-
400: "#22CCEE",
|
|
241
|
-
500: "#06AED4",
|
|
242
|
-
600: "#088AB2",
|
|
243
|
-
700: "#0E7090",
|
|
244
|
-
800: "#155B75",
|
|
245
|
-
900: "#164C63",
|
|
246
|
-
950: "#0D2D3A"
|
|
247
|
-
},
|
|
248
|
-
blueLight: {
|
|
249
|
-
25: "#F5FBFF",
|
|
250
|
-
50: "#F0F9FF",
|
|
251
|
-
100: "#E0F2FE",
|
|
252
|
-
200: "#B9E6FE",
|
|
253
|
-
300: "#7CD4FD",
|
|
254
|
-
400: "#36BFFA",
|
|
255
|
-
500: "#0BA5EC",
|
|
256
|
-
600: "#0086C9",
|
|
257
|
-
700: "#026AA2",
|
|
258
|
-
800: "#065986",
|
|
259
|
-
900: "#0B4A6F",
|
|
260
|
-
950: "#062C41"
|
|
261
|
-
},
|
|
262
|
-
blue: {
|
|
263
|
-
25: "#F5FAFF",
|
|
264
|
-
50: "#EFF8FF",
|
|
265
|
-
100: "#D1E9FF",
|
|
266
|
-
200: "#B2DDFF",
|
|
267
|
-
300: "#84CAFF",
|
|
268
|
-
400: "#53B1FD",
|
|
269
|
-
500: "#2E90FA",
|
|
270
|
-
600: "#1570EF",
|
|
271
|
-
700: "#175CD3",
|
|
272
|
-
800: "#1849A9",
|
|
273
|
-
900: "#194185",
|
|
274
|
-
950: "#102A56"
|
|
275
|
-
},
|
|
276
|
-
blueDark: {
|
|
277
|
-
25: "#F5F8FF",
|
|
278
|
-
50: "#EFF4FF",
|
|
279
|
-
100: "#D1E0FF",
|
|
280
|
-
200: "#B2CCFF",
|
|
281
|
-
300: "#84ADFF",
|
|
282
|
-
400: "#528BFF",
|
|
283
|
-
500: "#2970FF",
|
|
284
|
-
600: "#155EEF",
|
|
285
|
-
700: "#004EEB",
|
|
286
|
-
800: "#0040C1",
|
|
287
|
-
900: "#00359E",
|
|
288
|
-
950: "#002266"
|
|
289
|
-
},
|
|
290
|
-
violet: {
|
|
291
|
-
25: "#FBFAFF",
|
|
292
|
-
50: "#F5F3FF",
|
|
293
|
-
100: "#ECE9FE",
|
|
294
|
-
200: "#DDD6FE",
|
|
295
|
-
300: "#C3B5FD",
|
|
296
|
-
400: "#A48AFB",
|
|
297
|
-
500: "#875BF7",
|
|
298
|
-
600: "#7839EE",
|
|
299
|
-
700: "#6927DA",
|
|
300
|
-
800: "#5720B7",
|
|
301
|
-
900: "#491C96",
|
|
302
|
-
950: "#2E125E"
|
|
303
|
-
},
|
|
304
|
-
purple: {
|
|
305
|
-
25: "#FAFAFF",
|
|
306
|
-
50: "#F4F3FF",
|
|
307
|
-
100: "#EBE9FE",
|
|
308
|
-
200: "#D9D6FE",
|
|
309
|
-
300: "#BDB4FE",
|
|
310
|
-
400: "#9B8AFB",
|
|
311
|
-
500: "#7A5AF8",
|
|
312
|
-
600: "#6938EF",
|
|
313
|
-
700: "#5925DC",
|
|
314
|
-
800: "#4A1FB8",
|
|
315
|
-
900: "#3E1C96",
|
|
316
|
-
950: "#27115F"
|
|
317
|
-
},
|
|
318
|
-
fuchsia: {
|
|
319
|
-
25: "#FEFAFF",
|
|
320
|
-
50: "#FDF4FF",
|
|
321
|
-
100: "#FBE8FF",
|
|
322
|
-
200: "#F6D0FE",
|
|
323
|
-
300: "#EEAAFD",
|
|
324
|
-
400: "#E478FA",
|
|
325
|
-
500: "#D444F1",
|
|
326
|
-
600: "#BA24D5",
|
|
327
|
-
700: "#9F1AB1",
|
|
328
|
-
800: "#821890",
|
|
329
|
-
900: "#6F1877",
|
|
330
|
-
950: "#47104C"
|
|
331
|
-
},
|
|
332
|
-
pink: {
|
|
333
|
-
25: "#FEF6FB",
|
|
334
|
-
50: "#FDF2FA",
|
|
335
|
-
100: "#FCE7F6",
|
|
336
|
-
200: "#FCCEEE",
|
|
337
|
-
300: "#FAA7E0",
|
|
338
|
-
400: "#F670C7",
|
|
339
|
-
500: "#EE46BC",
|
|
340
|
-
600: "#DD2590",
|
|
341
|
-
700: "#C11574",
|
|
342
|
-
800: "#9E165F",
|
|
343
|
-
900: "#851651",
|
|
344
|
-
950: "#4E0D30"
|
|
345
|
-
},
|
|
346
|
-
rose: {
|
|
347
|
-
25: "#FFF5F6",
|
|
348
|
-
50: "#FFF1F3",
|
|
349
|
-
100: "#FFE4E8",
|
|
350
|
-
200: "#FECDD6",
|
|
351
|
-
300: "#FEA3B4",
|
|
352
|
-
400: "#FD6F8E",
|
|
353
|
-
500: "#F63D68",
|
|
354
|
-
600: "#E31B54",
|
|
355
|
-
700: "#C01048",
|
|
356
|
-
800: "#A11043",
|
|
357
|
-
900: "#89123E",
|
|
358
|
-
950: "#510B24"
|
|
359
|
-
},
|
|
360
|
-
orangeDark: {
|
|
361
|
-
25: "#FFF9F5",
|
|
362
|
-
50: "#FFF4ED",
|
|
363
|
-
100: "#FFE6D5",
|
|
364
|
-
200: "#FFD6AE",
|
|
365
|
-
300: "#FF9C66",
|
|
366
|
-
400: "#FF692E",
|
|
367
|
-
500: "#FF4405",
|
|
368
|
-
600: "#E62E05",
|
|
369
|
-
700: "#BC1B06",
|
|
370
|
-
800: "#97180C",
|
|
371
|
-
900: "#771A0D",
|
|
372
|
-
950: "#57130A"
|
|
373
|
-
},
|
|
374
|
-
orange: {
|
|
375
|
-
25: "#FEFAF5",
|
|
376
|
-
50: "#FEF6EE",
|
|
377
|
-
100: "#FDEAD7",
|
|
378
|
-
200: "#F9DBAF",
|
|
379
|
-
300: "#F7B27A",
|
|
380
|
-
400: "#F38744",
|
|
381
|
-
500: "#EF6820",
|
|
382
|
-
600: "#E04F16",
|
|
383
|
-
700: "#B93815",
|
|
384
|
-
800: "#932F19",
|
|
385
|
-
900: "#772917",
|
|
386
|
-
950: "#511C10"
|
|
387
|
-
},
|
|
388
|
-
yellow: {
|
|
389
|
-
25: "#FEFDF0",
|
|
390
|
-
50: "#FEFBE8",
|
|
391
|
-
100: "#FEF7C3",
|
|
392
|
-
200: "#FEEE95",
|
|
393
|
-
300: "#FDE272",
|
|
394
|
-
400: "#FAC515",
|
|
395
|
-
500: "#EAAA08",
|
|
396
|
-
600: "#CA8504",
|
|
397
|
-
700: "#A15C07",
|
|
398
|
-
800: "#854A0E",
|
|
399
|
-
900: "#713B12",
|
|
400
|
-
950: "#542C0D"
|
|
401
|
-
}
|
|
402
|
-
}, g = {
|
|
403
|
-
// # Text/Headings
|
|
404
|
-
body: E.gray[700],
|
|
405
|
-
headings: E.gray[700],
|
|
406
|
-
// Brand Colours
|
|
407
|
-
brand: E.brand,
|
|
408
|
-
primary: E.brand,
|
|
409
|
-
// # Primary Palette
|
|
410
|
-
gray: E.gray,
|
|
411
|
-
// # Semantic Colours
|
|
412
|
-
success: E.success,
|
|
413
|
-
error: E.error,
|
|
414
|
-
warning: E.warning,
|
|
415
|
-
info: F.grayBlue,
|
|
416
|
-
// # Secondary Palette
|
|
417
|
-
"gray-blue": F.grayBlue,
|
|
418
|
-
"gray-cool": F.grayCool,
|
|
419
|
-
"gray-modern": F.grayModern,
|
|
420
|
-
"gray-neutral": F.grayNeutral,
|
|
421
|
-
"gray-iron": F.grayIron,
|
|
422
|
-
"gray-true": F.grayTrue,
|
|
423
|
-
"gray-warm": F.grayWarm,
|
|
424
|
-
moss: F.moss,
|
|
425
|
-
"green-light": F.greenLight,
|
|
426
|
-
green: F.green,
|
|
427
|
-
teal: F.teal,
|
|
428
|
-
cyan: F.cyan,
|
|
429
|
-
"blue-light": F.blueLight,
|
|
430
|
-
blue: F.blue,
|
|
431
|
-
"blue-dark": F.blueDark,
|
|
432
|
-
violet: F.violet,
|
|
433
|
-
purple: F.purple,
|
|
434
|
-
fuchsia: F.fuchsia,
|
|
435
|
-
pink: F.pink,
|
|
436
|
-
rose: F.rose,
|
|
437
|
-
"orange-dark": F.orangeDark,
|
|
438
|
-
orange: F.orange,
|
|
439
|
-
yellow: F.yellow,
|
|
440
|
-
// # Other
|
|
441
|
-
white: E.base.white,
|
|
442
|
-
black: E.base.black
|
|
443
|
-
// transparent: colours.transparent,
|
|
444
|
-
// light: colours.white,
|
|
445
|
-
};
|
|
446
|
-
export {
|
|
447
|
-
g as C,
|
|
448
|
-
e as h,
|
|
449
|
-
a as i
|
|
450
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=(D,A)=>{const C=parseInt(D.slice(1,3),16),r=parseInt(D.slice(3,5),16),B=parseInt(D.slice(5,7),16);return A?`rgba(${C}, ${r}, ${B}, ${A})`:`rgb(${C}, ${r}, ${B})`},a=D=>/^#[0-9A-F]{6}$/i.test(D),E={brand:{25:"#F0F9F8",50:"#DEF2EF",100:"#CFECE7",200:"#A7DDD3",300:"#7ECDBE",400:"#04B594",500:"#04A385",600:"#037F68",700:"#026D59",800:"#025B4A",900:"#02483B",950:"#01362C"},gray:{25:"#FCFCFD",50:"#F9FAFB",100:"#F2F4F7",200:"#EAECF0",300:"#D0D5DD",400:"#98A2B3",500:"#667085",600:"#475467",700:"#344054",800:"#182230",900:"#101828",950:"#0C111D"},success:{25:"#F6FEF9",50:"#ECFDF3",100:"#DCFAE6",200:"#A9EFC5",300:"#75E0A7",400:"#47CD89",500:"#17B26A",600:"#079455",700:"#067647",800:"#085D3A",900:"#074D31",950:"#053321"},warning:{25:"#FFFCF5",50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E",950:"#4E1D09"},error:{25:"#FFFBFA",50:"#FEF3F2",100:"#FEE4E2",200:"#FECDCA",300:"#FDA29B",400:"#F97066",500:"#F04438",600:"#D92D20",700:"#B42318",800:"#912018",900:"#7A271A",950:"#55160C"},base:{white:"#FFFFFF",black:"#000000"}},F={grayBlue:{25:"#FCFCFD",50:"#F8F9FC",100:"#EAECF5",200:"#D5D9EB",300:"#B3B8DB",400:"#717BBC",500:"#4E5BA6",600:"#3E4784",700:"#363F72",800:"#293056",900:"#101323",950:"#0D0F1C"},grayCool:{25:"#FCFCFD",50:"#F9F9FB",100:"#EFF1F5",200:"#DCDFEA",300:"#B9C0D4",400:"#7D89B0",500:"#5D6B98",600:"#4A5578",700:"#404968",800:"#30374F",900:"#111322",950:"#0E101B"},grayModern:{25:"#FCFCFD",50:"#F8FAFC",100:"#EEF2F6",200:"#E3E8EF",300:"#CDD5DF",400:"#9AA4B2",500:"#697586",600:"#4B5565",700:"#364152",800:"#202939",900:"#121926",950:"#0D121C"},grayNeutral:{25:"#FCFCFD",50:"#F9FAFB",100:"#F3F4F6",200:"#E5E7EB",300:"#D2D6DB",400:"#9DA4AE",500:"#6C737F",600:"#4D5761",700:"#384250",800:"#1F2A37",900:"#111927",950:"#0D121C"},grayIron:{25:"#FCFCFC",50:"#FAFAFA",100:"#F4F4F5",200:"#E4E4E7",300:"#D1D1D6",400:"#A0A0AB",500:"#70707B",600:"#51525C",700:"#3F3F46",800:"#26272B",900:"#18181B",950:"#131316"},grayTrue:{25:"#FCFCFC",50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D6D6D6",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#424242",800:"#292929",900:"#141414",950:"#0F0F0F"},grayWarm:{25:"#FDFDFC",50:"#FAFAF9",100:"#F5F5F4",200:"#E7E5E4",300:"#D7D3D0",400:"#A9A29D",500:"#79716B",600:"#57534E",700:"#44403C",800:"#292524",900:"#1C1917",950:"#171412"},moss:{25:"#FAFDF7",50:"#F5FBEE",100:"#E6F4D7",200:"#CEEAB0",300:"#ACDC79",400:"#86CB3C",500:"#669F2A",600:"#4F7A21",700:"#3F621A",800:"#335015",900:"#2B4212",950:"#1A280B"},greenLight:{25:"#FAFEF5",50:"#F3FEE7",100:"#E3FBCC",200:"#D0F8AB",300:"#A6EF67",400:"#85E13A",500:"#66C61C",600:"#4CA30D",700:"#3B7C0F",800:"#326212",900:"#2B5314",950:"#15290A"},green:{25:"#F6FEF9",50:"#EDFCF2",100:"#D3F8DF",200:"#AAF0C4",300:"#73E2A3",400:"#3CCB7F",500:"#16B364",600:"#099250",700:"#087443",800:"#095C37",900:"#084C2E",950:"#052E1C"},teal:{25:"#F6FEFC",50:"#F0FDF9",100:"#CCFBEF",200:"#99F6E0",300:"#5FE9D0",400:"#2ED3B7",500:"#15B79E",600:"#0E9384",700:"#107569",800:"#125D56",900:"#134E48",950:"#0A2926"},cyan:{25:"#F5FEFF",50:"#ECFDFF",100:"#CFF9FE",200:"#A5F0FC",300:"#67E3F9",400:"#22CCEE",500:"#06AED4",600:"#088AB2",700:"#0E7090",800:"#155B75",900:"#164C63",950:"#0D2D3A"},blueLight:{25:"#F5FBFF",50:"#F0F9FF",100:"#E0F2FE",200:"#B9E6FE",300:"#7CD4FD",400:"#36BFFA",500:"#0BA5EC",600:"#0086C9",700:"#026AA2",800:"#065986",900:"#0B4A6F",950:"#062C41"},blue:{25:"#F5FAFF",50:"#EFF8FF",100:"#D1E9FF",200:"#B2DDFF",300:"#84CAFF",400:"#53B1FD",500:"#2E90FA",600:"#1570EF",700:"#175CD3",800:"#1849A9",900:"#194185",950:"#102A56"},blueDark:{25:"#F5F8FF",50:"#EFF4FF",100:"#D1E0FF",200:"#B2CCFF",300:"#84ADFF",400:"#528BFF",500:"#2970FF",600:"#155EEF",700:"#004EEB",800:"#0040C1",900:"#00359E",950:"#002266"},violet:{25:"#FBFAFF",50:"#F5F3FF",100:"#ECE9FE",200:"#DDD6FE",300:"#C3B5FD",400:"#A48AFB",500:"#875BF7",600:"#7839EE",700:"#6927DA",800:"#5720B7",900:"#491C96",950:"#2E125E"},purple:{25:"#FAFAFF",50:"#F4F3FF",100:"#EBE9FE",200:"#D9D6FE",300:"#BDB4FE",400:"#9B8AFB",500:"#7A5AF8",600:"#6938EF",700:"#5925DC",800:"#4A1FB8",900:"#3E1C96",950:"#27115F"},fuchsia:{25:"#FEFAFF",50:"#FDF4FF",100:"#FBE8FF",200:"#F6D0FE",300:"#EEAAFD",400:"#E478FA",500:"#D444F1",600:"#BA24D5",700:"#9F1AB1",800:"#821890",900:"#6F1877",950:"#47104C"},pink:{25:"#FEF6FB",50:"#FDF2FA",100:"#FCE7F6",200:"#FCCEEE",300:"#FAA7E0",400:"#F670C7",500:"#EE46BC",600:"#DD2590",700:"#C11574",800:"#9E165F",900:"#851651",950:"#4E0D30"},rose:{25:"#FFF5F6",50:"#FFF1F3",100:"#FFE4E8",200:"#FECDD6",300:"#FEA3B4",400:"#FD6F8E",500:"#F63D68",600:"#E31B54",700:"#C01048",800:"#A11043",900:"#89123E",950:"#510B24"},orangeDark:{25:"#FFF9F5",50:"#FFF4ED",100:"#FFE6D5",200:"#FFD6AE",300:"#FF9C66",400:"#FF692E",500:"#FF4405",600:"#E62E05",700:"#BC1B06",800:"#97180C",900:"#771A0D",950:"#57130A"},orange:{25:"#FEFAF5",50:"#FEF6EE",100:"#FDEAD7",200:"#F9DBAF",300:"#F7B27A",400:"#F38744",500:"#EF6820",600:"#E04F16",700:"#B93815",800:"#932F19",900:"#772917",950:"#511C10"},yellow:{25:"#FEFDF0",50:"#FEFBE8",100:"#FEF7C3",200:"#FEEE95",300:"#FDE272",400:"#FAC515",500:"#EAAA08",600:"#CA8504",700:"#A15C07",800:"#854A0E",900:"#713B12",950:"#542C0D"}},g={body:E.gray[700],headings:E.gray[700],brand:E.brand,primary:E.brand,gray:E.gray,success:E.success,error:E.error,warning:E.warning,info:F.grayBlue,"gray-blue":F.grayBlue,"gray-cool":F.grayCool,"gray-modern":F.grayModern,"gray-neutral":F.grayNeutral,"gray-iron":F.grayIron,"gray-true":F.grayTrue,"gray-warm":F.grayWarm,moss:F.moss,"green-light":F.greenLight,green:F.green,teal:F.teal,cyan:F.cyan,"blue-light":F.blueLight,blue:F.blue,"blue-dark":F.blueDark,violet:F.violet,purple:F.purple,fuchsia:F.fuchsia,pink:F.pink,rose:F.rose,"orange-dark":F.orangeDark,orange:F.orange,yellow:F.yellow,white:E.base.white,black:E.base.black};exports.ColoursConfig=g;exports.hexToRGB=e;exports.isValidHex=a;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, openBlock as t, createElementBlock as o, normalizeClass as n, unref as r, renderSlot as c, createTextVNode as d, toDisplayString as b } from "vue";
|
|
2
|
-
const f = ["for"], u = /* @__PURE__ */ s({
|
|
3
|
-
__name: "DsgLabel",
|
|
4
|
-
props: {
|
|
5
|
-
label: { default: "" },
|
|
6
|
-
labelFor: { default: "" },
|
|
7
|
-
size: { default: "md" },
|
|
8
|
-
classes: { default: "" }
|
|
9
|
-
},
|
|
10
|
-
setup(e) {
|
|
11
|
-
const l = [
|
|
12
|
-
"dsg-label",
|
|
13
|
-
`dsg-label--${e.size}`,
|
|
14
|
-
e.classes
|
|
15
|
-
].join(" ");
|
|
16
|
-
return (a, i) => (t(), o("label", {
|
|
17
|
-
for: e.labelFor,
|
|
18
|
-
class: n(r(l))
|
|
19
|
-
}, [
|
|
20
|
-
c(a.$slots, "dsg-label-text", {}, () => [
|
|
21
|
-
d(b(e.label), 1)
|
|
22
|
-
])
|
|
23
|
-
], 10, f));
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
export {
|
|
27
|
-
u as _
|
|
28
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t=["for"],n=e.defineComponent({__name:"DsgLabel",props:{label:{default:""},labelFor:{default:""},size:{default:"md"},classes:{default:""}},setup(l){const s=["dsg-label",`dsg-label--${l.size}`,l.classes].join(" ");return(a,o)=>(e.openBlock(),e.createElementBlock("label",{for:l.labelFor,class:e.normalizeClass(e.unref(s))},[e.renderSlot(a.$slots,"dsg-label-text",{},()=>[e.createTextVNode(e.toDisplayString(l.label),1)])],10,t))}});exports._sfc_main=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ------------------------------------------------
|
|
3
|
-
* # Import: Dependencies
|
|
4
|
-
* ------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* ------------------------------------------------
|
|
8
|
-
* # Setup: Props
|
|
9
|
-
* ------------------------------------------------
|
|
10
|
-
*/
|
|
11
|
-
export interface DsgInputDropdownOption {
|
|
12
|
-
value?: string;
|
|
13
|
-
label?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface DsgInputDropdownProps {
|
|
16
|
-
name?: string;
|
|
17
|
-
placeholder?: string;
|
|
18
|
-
classes?: string;
|
|
19
|
-
options?: DsgInputDropdownOption[];
|
|
20
|
-
}
|
|
21
|
-
type __VLS_Props = DsgInputDropdownProps;
|
|
22
|
-
type __VLS_PublicProps = {
|
|
23
|
-
modelValue?: string;
|
|
24
|
-
} & __VLS_Props;
|
|
25
|
-
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (value: string) => any;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
29
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSelectElement>;
|
|
30
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ------------------------------------------------
|
|
3
|
-
* # Setup: Props
|
|
4
|
-
* ------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
export type DsgLinkTargetUri = '_blank' | '_self' | '_parent' | '_top' | 'framename';
|
|
7
|
-
export type DsgLinkSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'display-xs' | 'display-sm' | 'display-md' | 'display-lg' | 'display-xl' | 'display-2xl';
|
|
8
|
-
export interface DsgLinkProps {
|
|
9
|
-
label?: string;
|
|
10
|
-
href: string;
|
|
11
|
-
uriTarget?: DsgLinkTargetUri;
|
|
12
|
-
size?: DsgLinkSize;
|
|
13
|
-
classes?: string;
|
|
14
|
-
preventDefault?: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare function __VLS_template(): {
|
|
17
|
-
attrs: Partial<{}>;
|
|
18
|
-
slots: {
|
|
19
|
-
'dsg-link-content'?(_: {}): any;
|
|
20
|
-
};
|
|
21
|
-
refs: {};
|
|
22
|
-
rootEl: HTMLAnchorElement;
|
|
23
|
-
};
|
|
24
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
-
declare const __VLS_component: import('vue').DefineComponent<DsgLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
26
|
-
"link-clicked": (clickEvent: Event) => any;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<DsgLinkProps> & Readonly<{
|
|
28
|
-
"onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
|
|
29
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./_commonjsHelpers-DwGv2jUC.cjs"),a=require("./DsgColoursConfig-D7UiFGB5.cjs");var x={},d={},m;function T(){return m||(m=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});function r(n,l){return{handler:n,config:l}}r.withOptions=function(n,l=()=>({})){const i=function(p){return{__options:p,handler:n(p),config:l(p)}};return i.__isOptionsFunction=!0,i.__pluginFunction=n,i.__configFunction=l,i};const o=r})(d)),d}var y;function H(){return y||(y=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const r=o(T());function o(l){return l&&l.__esModule?l:{default:l}}const n=r.default})(x)),x}var u,b;function z(){if(b)return u;b=1;let e=H();return u=(e.__esModule?e:{default:e}).default,u}var G=z();const s=R.getDefaultExportFromCjs(G),g={"display-2xl":{fontSize:"4.5rem",lineHeight:"5.625rem",letterSpacing:"-0.09rem"},"display-xl":{fontSize:"3.75rem",lineHeight:"4.5rem",letterSpacing:"-0.075rem"},"display-lg":{fontSize:"3rem",lineHeight:"3.75rem",letterSpacing:"-0.06rem"},"display-md":{fontSize:"2.25rem",lineHeight:"2.75rem",letterSpacing:"-0.045rem"},"display-sm":{fontSize:"1.875rem",lineHeight:"2.375rem"},"display-xs":{fontSize:"1.5rem",lineHeight:"2rem"}},t={xl:{fontSize:"1.125rem",lineHeight:"1.75rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},md:{fontSize:"1rem",lineHeight:"1.5rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},xs:{fontSize:"0.75rem",lineHeight:"1.125rem"}},A=[{classNames:["display-2xl","h1","heading-1"],styles:{...g["display-2xl"]}},{classNames:["display-xl","h2","heading-2"],styles:{...g["display-xl"]}},{classNames:["display-lg","h3","heading-3"],styles:{...g["display-lg"]}},{classNames:["display-md","h4","heading-4"],styles:{...g["display-md"]}},{classNames:["display-sm","h5","heading-5"],styles:{...g["display-sm"]}},{classNames:["display-xs","h6","heading-6"],styles:{...g["display-xs"]}},{classNames:["body-xl","text-xl","lead-1"],styles:{...t.xl}},{classNames:["body-lg","text-lg","lead-2"],styles:{...t.lg}},{classNames:["body-md","text-md","body","text-base"],styles:{...t.md}},{classNames:["body-sm","text-sm","caption"],styles:{...t.sm}},{classNames:["body-xs","text-xs","legal","text-legal"],styles:{...t.xs}}];let C={};A.forEach(e=>{e.classNames.forEach(r=>{C["."+r]=e.styles})});const h=s(function({addComponents:e}){return e(C)}),f=s(()=>{},{theme:{extend:{borderRadius:{none:"0rem",xxs:"0.125rem",xs:"0.25rem",sm:"0.375rem",md:"0.5rem",lg:"0.625rem",xl:"0.75rem","2xl":"1rem","3xl":"1.25rem","4xl":"1.5rem",full:"9999px"}}}}),q=[{className:"gradient-gray-1",colors:[a.ColoursConfig.gray[600],"#FFFFFF"],angle:"0deg",type:"linear"},{className:"gradient-gray-2",colors:[a.ColoursConfig.gray[600],a.ColoursConfig.gray[500]],angle:"90deg",type:"linear"},{className:"gradient-gray-3",colors:[a.ColoursConfig.gray[700],a.ColoursConfig.gray[600]],angle:"45deg",type:"linear"},{className:"gradient-gray-4",colors:[a.ColoursConfig.gray[800],a.ColoursConfig.gray[600]],angle:"45deg",type:"linear"},{className:"gradient-gray-5",colors:[a.ColoursConfig.gray[800],a.ColoursConfig.gray[600]],angle:"90deg",type:"linear"},{className:"gradient-gray-6",colors:[a.ColoursConfig.gray[800],a.ColoursConfig.gray[700]],angle:"26.5deg",type:"linear"},{className:"gradient-gray-7",colors:[a.ColoursConfig.gray[900],a.ColoursConfig.gray[600]],angle:"45deg",type:"linear"},{className:"gradient-brand-1",colors:[a.ColoursConfig.brand[600],"#FFFFFF"],angle:"0deg",type:"linear"},{className:"gradient-brand-2",colors:[a.ColoursConfig.brand[600],a.ColoursConfig.brand[500]],angle:"90deg",type:"linear"},{className:"gradient-brand-3",colors:[a.ColoursConfig.brand[700],a.ColoursConfig.brand[600]],angle:"45deg",type:"linear"},{className:"gradient-brand-4",colors:[a.ColoursConfig.brand[800],a.ColoursConfig.brand[600]],angle:"45deg",type:"linear"},{className:"gradient-brand-5",colors:[a.ColoursConfig.brand[800],a.ColoursConfig.brand[600]],angle:"90deg",type:"linear"},{className:"gradient-brand-6",colors:[a.ColoursConfig.brand[800],a.ColoursConfig.brand[700]],angle:"26.5deg",type:"linear"},{className:"gradient-brand-7",colors:[a.ColoursConfig.brand[900],a.ColoursConfig.brand[700]],angle:"45deg",type:"linear"},{className:"gradient-gray-neutral-1",colors:["#FFFFFF","#F3F5F7"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-2",colors:["#F9FAFB","#EDF0F3"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-3",colors:["#EDF0F3","#E7EBEF"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-4",colors:["#F3F5F7","#E0E5EB"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-5",colors:["#EDF0F3","#D4DBE2"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-6",colors:["#E7EBEF","#C8D1DA"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-7",colors:["#E7EBEF","#C8D1DA"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-1",colors:["#FFFFFF","#F5F5F5"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-2",colors:["#FAFAFA","#F0F0F0"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-3",colors:["#FAFAFA","#EBEBEB"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-4",colors:["#F5F5F5","#E5E5E5"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-5",colors:["#F0F0F0","#DBDBDB"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-6",colors:["#EBEBEB","#D1D1D1"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-7",colors:["#E5E5E5","#C2C2C2"],angle:"180deg",type:"linear"}];let F={};q.forEach(e=>{const r=e.type==="linear"?"linear-gradient":"radial-gradient",o=e.colors.join(", ");let n=r+"("+e.angle+", "+o+")";F["."+e.className]={backgroundImage:n}});const N=s(({addComponents:e})=>{e(F)}),V=[{className:"backdrop-blur-light-sm",background:"rgba(255, 255, 255, 0.60)",blur:"4px"},{className:"backdrop-blur-light-md",background:"rgba(255, 255, 255, 0.60)",blur:"8px"},{className:"backdrop-blur-light-lg",background:"rgba(255, 255, 255, 0.60)",blur:"12px"},{className:"backdrop-blur-light-xl",background:"rgba(255, 255, 255, 0.60)",blur:"20px"},{className:"backdrop-blur-dark-sm",background:"rgba(0, 0, 0, 0.60)",blur:"4px"},{className:"backdrop-blur-dark-md",background:"rgba(0, 0, 0, 0.60)",blur:"8px"},{className:"backdrop-blur-dark-lg",background:"rgba(0, 0, 0, 0.60)",blur:"12px"},{className:"backdrop-blur-dark-xl",background:"rgba(0, 0, 0, 0.60)",blur:"20px"}];let S={};V.forEach(e=>{S["."+e.className]={backdropFilter:"blur("+e.blur+")",background:e.background}});const P=s(({addComponents:e})=>{e(S)}),O=[{className:"shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05)",textShadowValue:"0px 1px 2px rgba(16, 24, 40, 0.05)"},{className:"shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06)",textShadowValue:"0px 1px 3px rgba(16, 24, 40, 0.10)"},{className:"shadow-md",value:"0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06)",textShadowValue:"0px 4px 8px rgba(16, 24, 40, 0.10)"},{className:"shadow-lg",value:"0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03)",textShadowValue:"0px 12px 16px rgba(16, 24, 40, 0.12)"},{className:"shadow-xl",value:"0px 16px 32px -8px rgba(16, 24, 40, 0.18)",textShadowValue:"0px 16px 32px rgba(16, 24, 40, 0.18)"},{className:"shadow-2xl",value:"0px 24px 48px -12px rgba(16, 24, 40, 0.18)",textShadowValue:"0px 24px 48px rgba(16, 24, 40, 0.18)"},{className:"shadow-3xl",value:"0px 32px 64px -12px rgba(16, 24, 40, 0.14)",textShadowValue:"0px 32px 64px rgba(16, 24, 40, 0.14)"}];let c={};O.forEach(e=>{c["."+e.className]={boxShadow:e.value},c[".text-"+e.className]={textShadow:e.textShadowValue}});const B=s(({addComponents:e})=>{e(c)});function j(e){const r={brandColor:e?.brandColor||a.ColoursConfig.brand[500],grayColor:e?.grayColor||a.ColoursConfig.gray[400],errorColor:e?.errorColor||a.ColoursConfig.error[500]},o=[{className:"ring-brand",value:"0px 0px 0px 4px "+a.hexToRGB(r.brandColor,.24)},{className:"ring-gray",value:"0px 0px 0px 4px "+a.hexToRGB(r.grayColor,.14)},{className:"ring-gray-secondary",value:"0px 0px 0px 4px "+a.hexToRGB(r.grayColor,.2)},{className:"ring-error",value:"0px 0px 0px 4px "+a.hexToRGB(r.errorColor,.24)},{className:"ring-brand-shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px "+a.hexToRGB(r.brandColor,.24)},{className:"ring-brand-shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px "+a.hexToRGB(r.brandColor,.24)},{className:"ring-gray-shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px "+a.hexToRGB(r.grayColor,.14)},{className:"ring-gray-shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px "+a.hexToRGB(r.grayColor,.14)},{className:"ring-error-shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px "+a.hexToRGB(r.errorColor,.24)},{className:"ring-error-shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px "+a.hexToRGB(r.errorColor,.24)}];let n={};return o.forEach(l=>{n["."+l.className]={boxShadow:l.value}}),s(({addComponents:l})=>{l(n)})}const D=j,E=s(({addBase:e,theme:r})=>{},{theme:{extend:{container:{center:!0,padding:{DEFAULT:"2rem",md:"1rem"}}}}}),v=s(({addBase:e,theme:r})=>{},{theme:{extend:{height:{xxs:"0.5rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem"}}}}),w=s(({addBase:e,theme:r})=>{},{theme:{extend:{screens:{"max-xl":{max:"1279px"},"max-lg":{max:"1023px"},"max-md":{max:"768px"},"max-sm":{max:"639px"},"max-xs":{max:"413px"},sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1600px"}}}}),k=s(({addBase:e,theme:r})=>{},{theme:{extend:{spacing:{"3xlSpace":"96px","2xlSpace":"64px",xlSpace:"32px",lgSpace:"24px",mdSpace:"16px",smSpace:"12px",xsSpace:"8px","2xsSpace":"4px","3xsSpace":"2px"}}}}),_=s(({addBase:e,theme:r})=>{},{theme:{extend:{width:{"2xs":"0.5rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem"}}}}),M=[f,h,N,P,B,D(),E,v,w,k,_],$={brand:["Inter","Source Sans Pro","Helvetica Neue","Roboto","Arial","sans-serif"],inter:["Inter","Source Sans Pro","Helvetica Neue","Roboto","Arial","sans-serif"]},W=M,L=a.ColoursConfig,U=a.ColoursConfig,J=$;exports.DsgBackdropBlurPlugin=P;exports.DsgColorConfig=U;exports.DsgColourConfig=L;exports.DsgContainerPlugin=E;exports.DsgFocusRingsPlugin=D;exports.DsgFontFamilyConfig=J;exports.DsgGradientPlugin=N;exports.DsgHeightPlugin=v;exports.DsgRadiusPlugin=f;exports.DsgScreenPlugin=w;exports.DsgShadowsPlugin=B;exports.DsgSpacingPlugin=k;exports.DsgTailwindPlugin=W;exports.DsgTypographyPlugin=h;exports.DsgWidthPlugin=_;
|