srcdev-nuxt-components 5.0.3 → 6.0.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.
Files changed (96) hide show
  1. package/README.md +2 -10
  2. package/app/assets/styles/extends-layer/srcdev-components/components/_display-prompt-core.css +72 -0
  3. package/app/assets/styles/extends-layer/srcdev-components/components/index.css +1 -0
  4. package/app/assets/styles/extends-layer/srcdev-components/index.css +2 -0
  5. package/app/assets/styles/extends-layer/srcdev-components/setup/index.css +1 -0
  6. package/{assets/styles/extends-layer/srcdev-components → app/assets/styles/extends-layer/srcdev-components/setup}/themes/_error.css +1 -1
  7. package/{assets/styles/extends-layer/srcdev-components → app/assets/styles/extends-layer/srcdev-components/setup}/themes/_info.css +1 -1
  8. package/app/assets/styles/extends-layer/srcdev-components/setup/themes/_secondary.css +15 -0
  9. package/{assets/styles/extends-layer/srcdev-components → app/assets/styles/extends-layer/srcdev-components/setup}/themes/_success.css +1 -1
  10. package/{assets/styles/extends-layer/srcdev-components → app/assets/styles/extends-layer/srcdev-components/setup}/themes/_warning.css +1 -1
  11. package/{assets/styles/extends-layer/srcdev-components → app/assets/styles/extends-layer/srcdev-components/setup}/themes/index.css +1 -0
  12. package/app/assets/styles/setup/_head.css +36 -0
  13. package/{assets → app/assets}/styles/setup/a11y/_variables.css +0 -2
  14. package/app/assets/styles/setup/index.css +5 -0
  15. package/app/assets/styles/setup/typography/index.css +2 -0
  16. package/app/assets/styles/setup/typography/utility-classes/_generic-font-classes.css +217 -0
  17. package/app/assets/styles/setup/typography/utility-classes/_generic-font-variation-settings.css +29 -0
  18. package/app/assets/styles/setup/typography/utility-classes/_generic-font-weights.css +39 -0
  19. package/app/assets/styles/setup/typography/vars/_colors.css +14 -0
  20. package/app/assets/styles/setup/typography/vars/_reponsive-font-sizes.css +12 -0
  21. package/{assets → app/assets}/styles/setup/typography/vars/index.css +1 -0
  22. package/app/assets/styles/setup/utility-classes/_fluid-spacing.css +13 -0
  23. package/app/assets/styles/setup/utility-classes/animations/_auto-rotate.css +13 -0
  24. package/app/assets/styles/setup/utility-classes/animations/_entry-exit-blur.css +16 -0
  25. package/app/assets/styles/setup/utility-classes/animations/_entry-slide-in.css +15 -0
  26. package/app/assets/styles/setup/utility-classes/animations/_entry-zoom-reveal.css +15 -0
  27. package/app/assets/styles/setup/utility-classes/animations/index.css +4 -0
  28. package/app/assets/styles/setup/utility-classes/index.css +2 -0
  29. package/app/assets/styles/setup/variables/index.css +1 -0
  30. package/{components → app/components}/accordian/AccordianCore.vue +1 -1
  31. package/{components → app/components}/display-prompt/DisplayPromptCore.vue +1 -1
  32. package/{components → app/components}/responsive-header/NavigationItems.vue +1 -1
  33. package/nuxt.config.ts +5 -2
  34. package/package.json +13 -17
  35. package/assets/styles/extends-layer/srcdev-components/display-prompt-core/index.css +0 -70
  36. package/assets/styles/extends-layer/srcdev-components/index.css +0 -2
  37. package/assets/styles/setup/_head.css +0 -5
  38. package/assets/styles/setup/index.css +0 -5
  39. package/assets/styles/setup/typography/index.css +0 -2
  40. package/assets/styles/setup/typography/utility-classes/_generic-font-classes.css +0 -192
  41. package/assets/styles/setup/typography/utility-classes/_generic-font-variation-settings.css +0 -29
  42. package/assets/styles/setup/typography/utility-classes/_generic-font-weights.css +0 -41
  43. package/assets/styles/setup/typography/vars/_reponsive-font-sizes.css +0 -10
  44. package/assets/styles/setup/utility-classes/_margin-helpers.css +0 -334
  45. package/assets/styles/setup/utility-classes/_padding-helpers.css +0 -308
  46. package/assets/styles/setup/utility-classes/_page.css +0 -50
  47. package/assets/styles/setup/utility-classes/index.css +0 -3
  48. package/assets/styles/setup/variables/index.css +0 -1
  49. package/{assets → app/assets}/styles/main.css +0 -0
  50. package/{assets → app/assets}/styles/setup/a11y/_utils.css +0 -0
  51. package/{assets → app/assets}/styles/setup/a11y/index.css +0 -0
  52. package/{assets → app/assets}/styles/setup/typography/utility-classes/index.css +1 -1
  53. package/{assets → app/assets}/styles/setup/variables/colors/_blue.css +0 -0
  54. package/{assets → app/assets}/styles/setup/variables/colors/_gray.css +0 -0
  55. package/{assets → app/assets}/styles/setup/variables/colors/_green.css +0 -0
  56. package/{assets → app/assets}/styles/setup/variables/colors/_orange.css +0 -0
  57. package/{assets → app/assets}/styles/setup/variables/colors/_red.css +0 -0
  58. package/{assets → app/assets}/styles/setup/variables/colors/_yellow.css +0 -0
  59. package/{assets → app/assets}/styles/setup/variables/colors/index.css +3 -3
  60. /package/{components → app/components}/animated-svg-text/AnimatedSvgText.vue +0 -0
  61. /package/{components → app/components}/canvas-switcher/CanvasSwitcher.vue +0 -0
  62. /package/{components → app/components}/carousel-basic/CarouselBasic.vue +0 -0
  63. /package/{components → app/components}/carousel-basic/CarouselFlip.vue +0 -0
  64. /package/{components → app/components}/carousel-basic/CarouselInfinite.vue +0 -0
  65. /package/{components → app/components}/clip-element/ClipElement.vue +0 -0
  66. /package/{components → app/components}/clipped-panels/ClippedPanel.vue +0 -0
  67. /package/{components → app/components}/container-glow/ContainerGlowCore.vue +0 -0
  68. /package/{components → app/components}/content-grid/ContentGrid.vue +0 -0
  69. /package/{components → app/components}/deep-expanding-menu/DeepExpandingMenu.vue +0 -0
  70. /package/{components → app/components}/deep-expanding-menu/DeepExpandingMenuOld.vue +0 -0
  71. /package/{components → app/components}/display-banner/DisplayBanner.vue +0 -0
  72. /package/{components → app/components}/display-details/DisplayDetailsCore.vue +0 -0
  73. /package/{components → app/components}/display-dialog/DisplayDialogCore.vue +0 -0
  74. /package/{components → app/components}/display-dialog/variants/DisplayDialogConfirm.vue +0 -0
  75. /package/{components → app/components}/display-dialog/variants/DisplayDialogScrollableContent.vue +0 -0
  76. /package/{components → app/components}/display-grid/DisplayGridCore.vue +0 -0
  77. /package/{components → app/components}/display-prompt/variants/DisplayPromptError.vue +0 -0
  78. /package/{components → app/components}/expanding-panel/ExpandingPanel.vue +0 -0
  79. /package/{components → app/components}/image-galleries/SliderGallery.vue +0 -0
  80. /package/{components → app/components}/layout-grids/LayoutGridA.vue +0 -0
  81. /package/{components → app/components}/layout-grids/LayoutGridB.vue +0 -0
  82. /package/{components → app/components}/layout-row/LayoutRow.vue +0 -0
  83. /package/{components → app/components}/masonry-grid/MasonryGrid.vue +0 -0
  84. /package/{components → app/components}/masonry-grid-ordered/MasonryGridOrdered.vue +0 -0
  85. /package/{components → app/components}/masonry-grid-sorted/MasonryGridSorted.vue +0 -0
  86. /package/{components → app/components}/pop-over/PopOver.vue +0 -0
  87. /package/{components → app/components}/responsive-header/ResponsiveHeader.vue +0 -0
  88. /package/{components → app/components}/rotating-carousel/RotatingCarouselImage.vue +0 -0
  89. /package/{components → app/components}/skip-links/SkipLinks.vue +0 -0
  90. /package/{components → app/components}/tabs/TabsCore.vue +0 -0
  91. /package/{composables → app/composables}/useDialogControls.ts +0 -0
  92. /package/{composables → app/composables}/useStyleClassPassthrough.ts +0 -0
  93. /package/{composables → app/composables}/useTabs.ts +0 -0
  94. /package/{types → app/types}/gallery-data.ts +0 -0
  95. /package/{types → app/types}/responsiveHeader.ts +0 -0
  96. /package/{types → app/types}/types.carousel-basic.ts +0 -0
package/README.md CHANGED
@@ -7,20 +7,12 @@ Althought this repo is public and feel free to do what you wish with it, this ha
7
7
  ## Install Nuxt Forms layer
8
8
 
9
9
  ```bash
10
- npm install --save nuxt-compnents
10
+ npm install --save srcdev-nuxt-components
11
11
  ```
12
12
 
13
- ## Additional required packages
14
-
15
- ```bash
16
- npm install --save @oddbird/css-anchor-positioning
17
- ```
18
-
19
- Then add the dependency to the property `extends` in `nuxt.config`:
20
-
21
13
  ```ts
22
14
  defineNuxtConfig({
23
- extends: 'nuxt-compnents',
15
+ extends: 'srcdev-nuxt-components',
24
16
  });
25
17
  ```
26
18
 
@@ -0,0 +1,72 @@
1
+ .srcdev-components-extended {
2
+ .display-prompt-core {
3
+ .display-prompt-wrapper {
4
+ background-color: var(--component-theme-10);
5
+ border: 1px solid var(--component-theme-8);
6
+ border-inline-start: 8px solid var(--component-theme-8);
7
+ border-radius: 4px;
8
+ border-start-start-radius: 8px;
9
+ border-end-start-radius: 8px;
10
+
11
+ .display-prompt-inner {
12
+ align-items: center;
13
+ gap: 12px;
14
+ padding-block: 1rem;
15
+ padding-inline: 1.5rem;
16
+
17
+ .display-prompt-icon {
18
+ .icon {
19
+ color: var(--component-theme-0);
20
+ font-size: 3rem;
21
+ font-style: normal;
22
+ font-weight: normal;
23
+ }
24
+ }
25
+
26
+ .display-prompt-content {
27
+ gap: 1rem;
28
+ margin: 0;
29
+ padding: 0.2rem;
30
+
31
+ .title {
32
+ font-size: var(--step-5);
33
+ font-weight: bold;
34
+ line-height: 1.3;
35
+ color: var(--component-theme-0);
36
+ margin: 0;
37
+ padding: 0;
38
+ }
39
+
40
+ .text {
41
+ font-size: var(--step-5);
42
+ font-weight: normal;
43
+ line-height: 1.3;
44
+ color: var(--component-theme-0);
45
+ margin: 0;
46
+ padding: 0;
47
+ }
48
+ }
49
+ .display-prompt-action {
50
+ background-color: transparent;
51
+ align-items: center;
52
+ margin: 1rem;
53
+ padding: 0.5rem;
54
+ border: 0.1rem solid var(--component-theme-8);
55
+ border-radius: 50%;
56
+ outline: 1px solid var(--component-theme-3);
57
+
58
+ &:hover {
59
+ cursor: pointer;
60
+ }
61
+
62
+ .icon {
63
+ color: var(--component-theme-0);
64
+ font-size: var(--step-5);
65
+ border: 1px solid green;
66
+ padding: 1rem;
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1 @@
1
+ @import './_display-prompt-core';
@@ -0,0 +1,2 @@
1
+ @import './setup';
2
+ @import './components';
@@ -1,4 +1,4 @@
1
- [data-prompt-theme='error'] {
1
+ [data-component-theme='error'] {
2
2
  --component-theme-0: var(--red-0);
3
3
  --component-theme-1: var(--red-1);
4
4
  --component-theme-2: var(--red-2);
@@ -1,4 +1,4 @@
1
- [data-prompt-theme='info'] {
1
+ [data-component-theme='info'] {
2
2
  --component-theme-0: var(--blue-0);
3
3
  --component-theme-1: var(--blue-1);
4
4
  --component-theme-2: var(--blue-2);
@@ -0,0 +1,15 @@
1
+ [data-component-theme='secondary'] {
2
+ --component-theme-0: var(--gray-0);
3
+ --component-theme-1: var(--gray-1);
4
+ --component-theme-2: var(--gray-2);
5
+ --component-theme-3: var(--gray-3);
6
+ --component-theme-4: var(--gray-4);
7
+ --component-theme-5: var(--gray-5);
8
+ --component-theme-6: var(--gray-6);
9
+ --component-theme-7: var(--gray-7);
10
+ --component-theme-8: var(--gray-8);
11
+ --component-theme-9: var(--gray-9);
12
+ --component-theme-10: var(--gray-10);
13
+ --component-theme-11: var(--gray-11);
14
+ --component-theme-12: var(--gray-12);
15
+ }
@@ -1,4 +1,4 @@
1
- [data-prompt-theme='success'] {
1
+ [data-component-theme='success'] {
2
2
  --component-theme-0: var(--green-0);
3
3
  --component-theme-1: var(--green-1);
4
4
  --component-theme-2: var(--green-2);
@@ -1,4 +1,4 @@
1
- [data-prompt-theme='warning'] {
1
+ [data-component-theme='warning'] {
2
2
  --component-theme-0: var(--orange-0);
3
3
  --component-theme-1: var(--orange-1);
4
4
  --component-theme-2: var(--orange-2);
@@ -2,3 +2,4 @@
2
2
  @import './_success';
3
3
  @import './_warning';
4
4
  @import './_info';
5
+ @import './_secondary';
@@ -0,0 +1,36 @@
1
+ :root {
2
+ /* --font-family: futura-pt, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif; */
3
+ /* --font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
4
+
5
+ --font-family: 'Quicksand', futura-pt, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
6
+ }
7
+
8
+ html {
9
+ color-scheme: light dark;
10
+
11
+ &[data-color-scheme='light'] {
12
+ color-scheme: light;
13
+ }
14
+
15
+ &[data-color-scheme='dark'] {
16
+ color-scheme: dark;
17
+ }
18
+
19
+ background-color: var(--page-bg);
20
+
21
+ font-size: 62.5%;
22
+
23
+ transition: background-color 0.4s ease, color 0.4s ease;
24
+ scrollbar-gutter: stable;
25
+
26
+ overflow-x: hidden;
27
+ }
28
+ body {
29
+ color: var(--grayscale-text-body);
30
+ font-family: var(--font-family);
31
+ font-size: var(--step-4);
32
+ min-height: 100vh;
33
+ transition: background-color 0.4s ease, color 0.4s ease;
34
+
35
+ overflow-x: hidden;
36
+ }
@@ -5,6 +5,4 @@
5
5
 
6
6
  --box-shadow-off: 0 0 0 0.3rem transparent;
7
7
  --box-shadow-on: 0 0 0 0.3rem light-dark(var(--blue-12), var(--gray-0));
8
-
9
- --focus-visible-box-shadow: 0 0 0 0.3rem light-dark(var(--blue-12), var(--gray-0));
10
8
  }
@@ -0,0 +1,5 @@
1
+ @import './_head.css';
2
+ @import './utility-classes';
3
+ @import './a11y';
4
+ @import './variables';
5
+ @import './typography';
@@ -0,0 +1,2 @@
1
+ @import './utility-classes';
2
+ @import './vars';
@@ -0,0 +1,217 @@
1
+ .heading-1 {
2
+ font-size: var(--step-8);
3
+ font-weight: bold;
4
+ line-height: 1.3;
5
+ }
6
+
7
+ .heading-2 {
8
+ font-size: var(--step-7);
9
+ /* font-weight: bold; */
10
+ font-variation-settings: 'wght' 500;
11
+ line-height: 1.3;
12
+ }
13
+
14
+ .heading-3 {
15
+ font-size: var(--step-6);
16
+ font-weight: bold;
17
+ line-height: 1.3;
18
+ }
19
+
20
+ .heading-4 {
21
+ font-size: var(--step-5);
22
+ font-weight: bold;
23
+ line-height: 1.3;
24
+ }
25
+
26
+ .heading-5 {
27
+ font-size: var(--step-4);
28
+ font-weight: bold;
29
+ line-height: 1.3;
30
+ }
31
+
32
+ .heading-6 {
33
+ font-size: var(--step-3);
34
+ font-weight: bold;
35
+ line-height: 1.3;
36
+ }
37
+
38
+ /* Body text */
39
+
40
+ .body-large {
41
+ font-size: var(--step-6);
42
+ font-weight: normal;
43
+ line-height: 1.5;
44
+ }
45
+
46
+ .body-medium {
47
+ font-size: var(--step-5);
48
+ font-weight: normal;
49
+ line-height: 1.5;
50
+ }
51
+
52
+ .body-normal {
53
+ font-size: var(--step-4);
54
+ font-weight: normal;
55
+ line-height: 1.5;
56
+ }
57
+
58
+ .body-small {
59
+ font-size: var(--step--0);
60
+ font-weight: normal;
61
+ line-height: 1.5;
62
+ }
63
+
64
+ .body-xsmall {
65
+ font-size: var(--step-2);
66
+ font-weight: normal;
67
+ line-height: 1.5;
68
+ }
69
+
70
+ .body-large-semibold {
71
+ font-size: var(--step-6);
72
+ font-weight: 500;
73
+ line-height: 1.5;
74
+ }
75
+
76
+ .body-medium-semibold {
77
+ font-size: var(--step-5);
78
+ font-weight: 500;
79
+ line-height: 1.5;
80
+ }
81
+
82
+ .body-normal-semibold {
83
+ font-size: var(--step-4);
84
+ font-weight: 500;
85
+ line-height: 1.5;
86
+ }
87
+
88
+ .body-small-semibold {
89
+ font-size: var(--step-3);
90
+ font-weight: 500;
91
+ line-height: 1.5;
92
+ }
93
+
94
+ .body-xsmall-semibold {
95
+ font-size: var(--step-2);
96
+ font-weight: 500;
97
+ line-height: 1.5;
98
+ }
99
+
100
+ .body-large-bold {
101
+ font-size: var(--step-6);
102
+ font-weight: bold;
103
+ line-height: 1.5;
104
+ }
105
+
106
+ .body-medium-bold {
107
+ font-size: var(--step-5);
108
+ font-weight: bold;
109
+ line-height: 1.5;
110
+ }
111
+
112
+ .body-normal-bold {
113
+ font-size: var(--step-4);
114
+ font-weight: bold;
115
+ line-height: 1.5;
116
+ }
117
+
118
+ .body-small-bold {
119
+ font-size: var(--step-3);
120
+ font-weight: bold;
121
+ line-height: 1.5;
122
+ }
123
+
124
+ .body-xsmall-bold {
125
+ font-size: var(--step-2);
126
+ font-weight: bold;
127
+ line-height: 1.5;
128
+ }
129
+
130
+ /* Links */
131
+
132
+ .link-large {
133
+ color: var(--theme-link-default);
134
+ font-size: var(--step-6);
135
+ font-weight: 600;
136
+ line-height: 1.5;
137
+ text-decoration: underline;
138
+
139
+ &:visited {
140
+ color: var(--theme-link-default);
141
+ }
142
+ }
143
+
144
+ .link-medium {
145
+ color: var(--theme-link-default);
146
+ font-size: var(--step-5);
147
+ font-weight: 600;
148
+ line-height: 1.5;
149
+ text-decoration: underline;
150
+
151
+ &:visited {
152
+ color: var(--theme-link-default);
153
+ }
154
+ }
155
+
156
+ .link-normal {
157
+ color: var(--theme-link-default);
158
+ font-size: var(--step-4);
159
+ font-weight: 600;
160
+ line-height: 1.5;
161
+ text-decoration: underline;
162
+
163
+ &:visited,
164
+ &:active {
165
+ color: var(--theme-link-default);
166
+ }
167
+ }
168
+
169
+ .link-small {
170
+ color: var(--theme-link-default);
171
+ font-size: var(--step-3);
172
+ font-weight: 600;
173
+ line-height: 1.5;
174
+ text-decoration: underline;
175
+
176
+ &:visited {
177
+ color: var(--theme-link-default);
178
+ }
179
+ }
180
+
181
+ .link-xsmall {
182
+ color: var(--theme-link-default);
183
+ font-size: var(--step-2);
184
+ font-weight: 600;
185
+ line-height: 1.5;
186
+ text-decoration: underline;
187
+
188
+ &:visited {
189
+ color: var(--theme-link-default);
190
+ }
191
+ }
192
+
193
+ .italic {
194
+ font-style: italic;
195
+ }
196
+
197
+ .wght-300 {
198
+ font-variation-settings: 'wght' 300;
199
+ }
200
+ .wght-400 {
201
+ font-variation-settings: 'wght' 400;
202
+ }
203
+ .wght-500 {
204
+ font-variation-settings: 'wght' 500;
205
+ }
206
+ .wght-600 {
207
+ font-variation-settings: 'wght' 600;
208
+ }
209
+ .wght-700 {
210
+ font-variation-settings: 'wght' 700;
211
+ }
212
+ .wght-800 {
213
+ font-variation-settings: 'wght' 800;
214
+ }
215
+ .wght-900 {
216
+ font-variation-settings: 'wght' 900;
217
+ }
@@ -0,0 +1,29 @@
1
+ /* Using the font-variation-settings property. */
2
+
3
+ .fvs-wght-100 {
4
+ font-variation-settings: 'wght' 100;
5
+ }
6
+ .fvs-wght-200 {
7
+ font-variation-settings: 'wght' 200;
8
+ }
9
+ .fvs-wght-300 {
10
+ font-variation-settings: 'wght' 300;
11
+ }
12
+ .fvs-wght-400 {
13
+ font-variation-settings: 'wght' 400;
14
+ }
15
+ .fvs-wght-500 {
16
+ font-variation-settings: 'wght' 500;
17
+ }
18
+ .fvs-wght-600 {
19
+ font-variation-settings: 'wght' 600;
20
+ }
21
+ .fvs-wght-700 {
22
+ font-variation-settings: 'wght' 700;
23
+ }
24
+ .fvs-wght-800 {
25
+ font-variation-settings: 'wght' 800;
26
+ }
27
+ .fvs-wght-900 {
28
+ font-variation-settings: 'wght' 900;
29
+ }
@@ -0,0 +1,39 @@
1
+ /* By numeric step */
2
+ .wght-100 {
3
+ font-weight: 100;
4
+ }
5
+ .wght-200 {
6
+ font-weight: 200;
7
+ }
8
+ .wght-300 {
9
+ font-weight: 300;
10
+ }
11
+ .wght-400 {
12
+ font-weight: 400;
13
+ }
14
+ .wght-500 {
15
+ font-weight: 500;
16
+ }
17
+ .wght-600 {
18
+ font-weight: 600;
19
+ }
20
+ .wght-700 {
21
+ font-weight: 700;
22
+ }
23
+ .wght-800 {
24
+ font-weight: 800;
25
+ }
26
+ .wght-900 {
27
+ font-weight: 900;
28
+ }
29
+
30
+ /* By named weight */
31
+ .light {
32
+ font-weight: light;
33
+ }
34
+ .normal {
35
+ font-weight: normal;
36
+ }
37
+ .bold {
38
+ font-weight: bold;
39
+ }
@@ -0,0 +1,14 @@
1
+ :root {
2
+ --theme-link-default: light-dark(var(--blue-12), var(--blue-4));
3
+
4
+ --page-bg: light-dark(var(--gray-0), var(--gray-9));
5
+
6
+ --surface-subtle: light-dark(var(--gray-1), var(--gray-8));
7
+
8
+ --grayscale-text-title: light-dark(var(--gray-12), var(--gray-2));
9
+ --grayscale-text-body: light-dark(var(--gray-12), var(--gray-3));
10
+ --grayscale-text-subtitle: light-dark(var(--gray-12), var(--gray-2));
11
+ --grayscale-text-caption: light-dark(var(--gray-12), var(--gray-2));
12
+ --grayscale-text-negative: light-dark(var(--gray-12), var(--gray-2));
13
+ --grayscale-text-disabled: light-dark(var(--gray-12), var(--gray-2));
14
+ }
@@ -0,0 +1,12 @@
1
+ :root {
2
+ --step-10: clamp(4.0311rem, 3.36rem + 3.3555vw, 5.9605rem); /* 10 */
3
+ --step-9: clamp(3.3592rem, 2.8691rem + 2.4507vw, 4.7684rem); /* 9 */
4
+ --step-8: clamp(2.7994rem, 2.4462rem + 1.7658vw, 3.8147rem); /* 8 */
5
+ --step-7: clamp(2.3328rem, 2.0827rem + 1.2504vw, 3.0518rem); /* 7 */
6
+ --step-6: clamp(1.944rem, 1.771rem + 0.8651vw, 2.4414rem); /* 6 */
7
+ --step-5: clamp(1.62rem, 1.5041rem + 0.5793vw, 1.9531rem); /* 5 */
8
+ --step-4: clamp(1.35rem, 1.2761rem + 0.3696vw, 1.5625rem); /* 4 */
9
+ --step-3: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem); /* 3 */
10
+ --step-2: clamp(0.9375rem, 0.9158rem + 0.1087vw, 1rem); /* 2 */
11
+ --step-1: clamp(0.7813rem, 0.7747rem + 0.0326vw, 0.8rem); /* 1 */
12
+ }
@@ -1 +1,2 @@
1
1
  @import './_reponsive-font-sizes.css';
2
+ @import './_colors.css';
@@ -0,0 +1,13 @@
1
+ /* @link https://utopia.fyi/clamp/calculator?a=360,1240,1—2|2—4|4—8|6—12|8—16|10—20|12—24|16—32|20—40 */
2
+
3
+ :root {
4
+ --fluid-1-2: clamp(0.0625rem, 0.0369rem + 0.1136vw, 0.125rem);
5
+ --fluid-2-4: clamp(0.125rem, 0.0739rem + 0.2273vw, 0.25rem);
6
+ --fluid-4-8: clamp(0.25rem, 0.1477rem + 0.4545vw, 0.5rem);
7
+ --fluid-6-12: clamp(0.375rem, 0.2216rem + 0.6818vw, 0.75rem);
8
+ --fluid-8-16: clamp(0.5rem, 0.2955rem + 0.9091vw, 1rem);
9
+ --fluid-10-20: clamp(0.625rem, 0.3693rem + 1.1364vw, 1.25rem);
10
+ --fluid-12-24: clamp(0.75rem, 0.4432rem + 1.3636vw, 1.5rem);
11
+ --fluid-16-32: clamp(1rem, 0.5909rem + 1.8182vw, 2rem);
12
+ --fluid-20-40: clamp(1.25rem, 0.7386rem + 2.2727vw, 2.5rem);
13
+ }
@@ -0,0 +1,13 @@
1
+ @keyframes autoRotateAnimation {
2
+ from {
3
+ transform: rotate(0deg);
4
+ }
5
+ to {
6
+ transform: rotate(360deg);
7
+ }
8
+ }
9
+
10
+ .auto-rotate {
11
+ animation: autoRotateAnimation;
12
+ animation-timeline: view();
13
+ }
@@ -0,0 +1,16 @@
1
+ .entry-exit-blur {
2
+ animation: entryExitBlurAnimation linear both;
3
+ animation-timeline: view();
4
+ }
5
+ @keyframes entryExitBlurAnimation {
6
+ 0% {
7
+ filter: blur(40px);
8
+ }
9
+ 45%,
10
+ 55% {
11
+ filter: blur(0px);
12
+ }
13
+ 100% {
14
+ filter: blur(40px);
15
+ }
16
+ }
@@ -0,0 +1,15 @@
1
+ @keyframes entrySlideInAnimation {
2
+ from {
3
+ opacity: 0;
4
+ transform: translateY(200px);
5
+ }
6
+ to {
7
+ opacity: 1;
8
+ transform: translateY(0);
9
+ }
10
+ }
11
+
12
+ .entry-slide-in {
13
+ animation: entrySlideInAnimation both;
14
+ animation-timeline: view(70% 5%);
15
+ }
@@ -0,0 +1,15 @@
1
+ @keyframes entryZoomRevealAnimation {
2
+ from {
3
+ opacity: 0;
4
+ transform: translateY(200px) scale(0.3);
5
+ }
6
+ to {
7
+ opacity: 1;
8
+ transform: translateY(0) scale(1);
9
+ }
10
+ }
11
+
12
+ .entry-zoom-reveal {
13
+ animation: entryZoomRevealAnimation both;
14
+ animation-timeline: view(70% 5%);
15
+ }
@@ -0,0 +1,4 @@
1
+ @import './_entry-zoom-reveal';
2
+ @import './_entry-slide-in';
3
+ @import './_entry-exit-blur';
4
+ @import './_auto-rotate';
@@ -0,0 +1,2 @@
1
+ @import './_fluid-spacing';
2
+ @import './animations/';
@@ -0,0 +1 @@
1
+ @import './colors';
@@ -7,7 +7,7 @@
7
7
  <template #icon>
8
8
  <slot :name="`accordian-${key}-icon`"></slot>
9
9
  </template>
10
- <template #content>
10
+ <template #layout-content>
11
11
  <slot :name="`accordian-${key}-content`"></slot>
12
12
  </template>
13
13
  </ExpandingPanel>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="display-prompt-core" :class="[{ dismissed: hide }, { 'use-local-style-overrides': useLocalStyleOverrides }]" :data-test-id="`display-prompt-core-${theme}`">
3
- <div class="display-prompt-wrapper" :data-prompt-theme="theme" :class="[elementClasses]" data-test-id="display-prompt">
3
+ <div class="display-prompt-wrapper" :data-component-theme="theme" :class="[elementClasses]" data-test-id="display-prompt">
4
4
  <div class="display-prompt-inner">
5
5
  <div class="display-prompt-icon" data-test-id="prompt-icon">
6
6
  <slot name="customDecoratorIcon">
@@ -44,7 +44,7 @@
44
44
  <template #summaryIcon>
45
45
  <Icon name="mdi:chevron-down" class="icon" :aria-hidden="true" />
46
46
  </template>
47
- <template #content>
47
+ <template #layout-content>
48
48
  <div class="overflow-navigation-sub-nav-inner">
49
49
  <ul class="overflow-navigation-sub-nav-list">
50
50
  <li v-for="childLink in link.childLinks" :key="childLink.name" class="overflow-navigation-sub-nav-item">
package/nuxt.config.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // https://nuxt.com/docs/api/configuration/nuxt-config
2
2
  export default defineNuxtConfig({
3
3
  devtools: { enabled: true },
4
- css: ['modern-normalize', './assets/styles/main.css'],
4
+ css: ['modern-normalize', './app/assets/styles/main.css'],
5
5
  modules: ['@nuxt/icon', '@nuxt/image'],
6
6
  app: {
7
7
  head: {
@@ -11,6 +11,9 @@ export default defineNuxtConfig({
11
11
  },
12
12
  titleTemplate: '%s - Nuxt Components Layer',
13
13
  meta: [{ charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }],
14
+ bodyAttrs: {
15
+ class: 'srcdev-components-extended',
16
+ },
14
17
  },
15
18
  pageTransition: {
16
19
  name: 'page',
@@ -30,7 +33,7 @@ export default defineNuxtConfig({
30
33
  vue: {
31
34
  runtimeCompiler: true,
32
35
  },
33
- compatibilityDate: '2024-07-13',
36
+ compatibilityDate: '2024-11-01',
34
37
  typescript: {
35
38
  includeWorkspace: true,
36
39
  },