fds-vue-core 2.1.4 → 2.1.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.
Files changed (121) hide show
  1. package/components.d.ts +8 -0
  2. package/configs/tsconfig.base.json +2 -1
  3. package/dist/fds-vue-core.cjs.js +35 -15
  4. package/dist/fds-vue-core.cjs.js.map +1 -1
  5. package/dist/fds-vue-core.es.js +35 -15
  6. package/dist/fds-vue-core.es.js.map +1 -1
  7. package/dist/global-components.d.ts +35 -33
  8. package/package.json +23 -21
  9. package/src/.DS_Store +0 -0
  10. package/src/App.vue +133 -0
  11. package/src/apply.css +60 -0
  12. package/src/assets/icons.ts +517 -0
  13. package/src/components/Blocks/FdsBlockAlert/FdsBlockAlert.stories.ts +94 -0
  14. package/src/components/Blocks/FdsBlockAlert/FdsBlockAlert.vue +112 -0
  15. package/src/components/Blocks/FdsBlockAlert/types.ts +12 -0
  16. package/src/components/Blocks/FdsBlockContent/FdsBlockContent.stories.ts +110 -0
  17. package/src/components/Blocks/FdsBlockContent/FdsBlockContent.vue +66 -0
  18. package/src/components/Blocks/FdsBlockContent/types.ts +6 -0
  19. package/src/components/Blocks/FdsBlockExpander/FdsBlockExpander.stories.ts +123 -0
  20. package/src/components/Blocks/FdsBlockExpander/FdsBlockExpander.vue +87 -0
  21. package/src/components/Blocks/FdsBlockExpander/types.ts +8 -0
  22. package/src/components/Blocks/FdsBlockInfo/FdsBlockInfo.stories.ts +110 -0
  23. package/src/components/Blocks/FdsBlockInfo/FdsBlockInfo.vue +75 -0
  24. package/src/components/Blocks/FdsBlockInfo/types.ts +9 -0
  25. package/src/components/Blocks/FdsBlockLink/FdsBlockLink.css +9 -0
  26. package/src/components/Blocks/FdsBlockLink/FdsBlockLink.stories.ts +179 -0
  27. package/src/components/Blocks/FdsBlockLink/FdsBlockLink.vue +149 -0
  28. package/src/components/Blocks/FdsBlockLink/types.ts +14 -0
  29. package/src/components/Buttons/ButtonBaseProps.ts +18 -0
  30. package/src/components/Buttons/FdsButtonCopy/FdsButtonCopy.stories.ts +53 -0
  31. package/src/components/Buttons/FdsButtonCopy/FdsButtonCopy.vue +87 -0
  32. package/src/components/Buttons/FdsButtonCopy/types.ts +8 -0
  33. package/src/components/Buttons/FdsButtonDownload/FdsButtonDownload.stories.ts +111 -0
  34. package/src/components/Buttons/FdsButtonDownload/FdsButtonDownload.vue +187 -0
  35. package/src/components/Buttons/FdsButtonIcon/FdsButtonIcon.stories.ts +55 -0
  36. package/src/components/Buttons/FdsButtonIcon/FdsButtonIcon.vue +57 -0
  37. package/src/components/Buttons/FdsButtonIcon/types.ts +12 -0
  38. package/src/components/Buttons/FdsButtonMinor/FdsButtonMinor.stories.ts +68 -0
  39. package/src/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue +126 -0
  40. package/src/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.stories.ts +86 -0
  41. package/src/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue +107 -0
  42. package/src/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.stories.ts +68 -0
  43. package/src/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue +107 -0
  44. package/src/components/FdsIcon/FdsIcon.stories.ts +69 -0
  45. package/src/components/FdsIcon/FdsIcon.vue +34 -0
  46. package/src/components/FdsIcon/types.ts +9 -0
  47. package/src/components/FdsModal/FdsModal.stories.ts +241 -0
  48. package/src/components/FdsModal/FdsModal.vue +269 -0
  49. package/src/components/FdsModal/types.ts +12 -0
  50. package/src/components/FdsPagination/FdsPagination.stories.ts +109 -0
  51. package/src/components/FdsPagination/FdsPagination.vue +193 -0
  52. package/src/components/FdsPagination/types.ts +6 -0
  53. package/src/components/FdsSearchSelect/FdsSearchSelect.stories.ts +428 -0
  54. package/src/components/FdsSearchSelect/FdsSearchSelect.vue +621 -0
  55. package/src/components/FdsSearchSelect/types.ts +25 -0
  56. package/src/components/FdsSpinner/FdsSpinner.stories.ts +31 -0
  57. package/src/components/FdsSpinner/FdsSpinner.vue +90 -0
  58. package/src/components/FdsSpinner/types.ts +6 -0
  59. package/src/components/FdsSticker/FdsSticker.stories.ts +148 -0
  60. package/src/components/FdsSticker/FdsSticker.vue +44 -0
  61. package/src/components/FdsSticker/types.ts +4 -0
  62. package/src/components/FdsTreeView/FdsTreeView.stories.ts +136 -0
  63. package/src/components/FdsTreeView/FdsTreeView.vue +162 -0
  64. package/src/components/FdsTreeView/TreeNode.vue +383 -0
  65. package/src/components/FdsTreeView/types.ts +141 -0
  66. package/src/components/FdsTreeView/useTreeState.ts +607 -0
  67. package/src/components/FdsTreeView/utils.ts +69 -0
  68. package/src/components/FdsTruncatedText/FdsTruncatedText.stories.ts +78 -0
  69. package/src/components/FdsTruncatedText/FdsTruncatedText.vue +85 -0
  70. package/src/components/FdsTruncatedText/types.ts +6 -0
  71. package/src/components/Form/FdsCheckbox/FdsCheckbox.stories.ts +275 -0
  72. package/src/components/Form/FdsCheckbox/FdsCheckbox.vue +155 -0
  73. package/src/components/Form/FdsCheckbox/types.ts +10 -0
  74. package/src/components/Form/FdsInput/FdsInput.stories.ts +319 -0
  75. package/src/components/Form/FdsInput/FdsInput.vue +233 -0
  76. package/src/components/Form/FdsInput/types.ts +25 -0
  77. package/src/components/Form/FdsRadio/FdsRadio.stories.ts +63 -0
  78. package/src/components/Form/FdsRadio/FdsRadio.vue +88 -0
  79. package/src/components/Form/FdsRadio/types.ts +12 -0
  80. package/src/components/Form/FdsSelect/FdsSelect.stories.ts +78 -0
  81. package/src/components/Form/FdsSelect/FdsSelect.vue +136 -0
  82. package/src/components/Form/FdsSelect/types.ts +13 -0
  83. package/src/components/Form/FdsTextarea/FdsTextarea.stories.ts +52 -0
  84. package/src/components/Form/FdsTextarea/FdsTextarea.vue +110 -0
  85. package/src/components/Form/FdsTextarea/types.ts +12 -0
  86. package/src/components/Table/FdsTable/FdsTable.stories.ts +221 -0
  87. package/src/components/Table/FdsTable/FdsTable.vue +25 -0
  88. package/src/components/Table/FdsTable/types.ts +4 -0
  89. package/src/components/Table/FdsTableHead/FdsTableHead.stories.ts +151 -0
  90. package/src/components/Table/FdsTableHead/FdsTableHead.vue +54 -0
  91. package/src/components/Table/FdsTableHead/types.ts +5 -0
  92. package/src/components/Tabs/FdsTabs/FdsTabs.stories.ts +247 -0
  93. package/src/components/Tabs/FdsTabs/FdsTabs.vue +27 -0
  94. package/src/components/Tabs/FdsTabs/types.ts +4 -0
  95. package/src/components/Tabs/FdsTabsItem/FdsTabsItem.vue +125 -0
  96. package/src/components/Tabs/FdsTabsItem/types.ts +16 -0
  97. package/src/components/Typography/FdsHeading/FdsHeading.stories.ts +93 -0
  98. package/src/components/Typography/FdsHeading/FdsHeading.vue +51 -0
  99. package/src/components/Typography/FdsHeading/types.ts +5 -0
  100. package/src/components/Typography/FdsListHeading/FdsListHeading.stories.ts +58 -0
  101. package/src/components/Typography/FdsListHeading/FdsListHeading.vue +62 -0
  102. package/src/components/Typography/FdsListHeading/types.ts +8 -0
  103. package/src/components/Typography/FdsSeparator/FdsSeparator.stories.ts +31 -0
  104. package/src/components/Typography/FdsSeparator/FdsSeparator.vue +5 -0
  105. package/src/components/Typography/FdsText/FdsText.stories.ts +66 -0
  106. package/src/components/Typography/FdsText/FdsText.vue +28 -0
  107. package/src/components/Typography/FdsText/types.ts +3 -0
  108. package/src/composables/useBoldQuery.ts +29 -0
  109. package/src/composables/useElementFinalSize.ts +24 -0
  110. package/src/composables/useHasSlots.ts +17 -0
  111. package/src/composables/useIsPid.ts +48 -0
  112. package/src/docs/Start/Start.mdx +12 -0
  113. package/src/docs/Usage.md +117 -0
  114. package/src/fonts.css +28 -0
  115. package/src/global-components.ts +75 -0
  116. package/src/index.ts +180 -0
  117. package/src/main.ts +7 -0
  118. package/src/slot-styles.css +93 -0
  119. package/src/style.css +89 -0
  120. package/src/tokens.css +252 -0
  121. package/dist/index.d.ts +0 -2
package/src/main.ts ADDED
@@ -0,0 +1,7 @@
1
+ import { createApp } from 'vue'
2
+ import App from './App.vue'
3
+ import './style.css'
4
+
5
+ // Create and mount the Vue app
6
+ const app = createApp(App)
7
+ app.mount('#app')
@@ -0,0 +1,93 @@
1
+ @import './tokens.css';
2
+
3
+ /* Hide native clear button on search inputs */
4
+ input[type='search']::-webkit-search-cancel-button {
5
+ display: none;
6
+ }
7
+
8
+ input[type='search']::-ms-clear {
9
+ display: none;
10
+ }
11
+
12
+ /* Styling FdsTable component */
13
+ .fds-table-wrapper--bordered {
14
+ border: 1px solid var(--color-gray-100);
15
+ border-radius: var(--radius-lg);
16
+ }
17
+
18
+ /* Compact styling */
19
+ .fds-table-wrapper.fds-table-wrapper--compact td,
20
+ .fds-table-wrapper.fds-table-wrapper--compact th:not(.fds-table-head) {
21
+ padding: 0.5rem;
22
+ }
23
+
24
+ /* Base styles - works in both Vue scoped and standalone CSS */
25
+ .fds-table-wrapper {
26
+ border-radius: var(--radius-lg);
27
+ overflow-x: auto;
28
+ }
29
+
30
+ /* Table styling - vanilla CSS version (for consuming repos) */
31
+ .fds-table-wrapper table {
32
+ min-width: 100%;
33
+ border-collapse: collapse;
34
+ border-spacing: 0;
35
+ }
36
+
37
+ .fds-table-wrapper thead {
38
+ background-color: var(--color-blue_t-100);
39
+ }
40
+
41
+ .fds-table-wrapper thead tr:first-child th:first-child {
42
+ border-radius: var(--radius-lg) 0 0 0;
43
+ }
44
+
45
+ .fds-table-wrapper thead tr:first-child th:last-child {
46
+ border-radius: 0 var(--radius-lg) 0 0;
47
+ }
48
+
49
+ .fds-table-wrapper tbody {
50
+ background-color: var(--color-white);
51
+ }
52
+
53
+ .fds-table-wrapper tbody tr {
54
+ border-bottom: 1px solid var(--color-blue-100);
55
+ }
56
+
57
+ .fds-table-wrapper tbody tr:last-child {
58
+ border-bottom: none;
59
+ }
60
+
61
+ .fds-table-wrapper td,
62
+ .fds-table-wrapper th:not(.fds-table-head) {
63
+ padding: 1rem;
64
+ }
65
+
66
+ .fds-table-wrapper td,
67
+ .fds-table-wrapper th {
68
+ text-align: left;
69
+ vertical-align: top;
70
+ white-space: normal;
71
+ }
72
+
73
+ /* Remove margin from last child */
74
+ .mb-0-last-child > *:last-child {
75
+ margin-bottom: 0 !important;
76
+ }
77
+
78
+ /* Styling links in default slot of FdsBlockAlert */
79
+ .fds-block-alert-slot .link {
80
+ @apply text-gray-900;
81
+ }
82
+
83
+ /* Styling FdsModal component */
84
+ @media screen and (max-width: 480px) {
85
+ .fds-modal__inner {
86
+ width: calc(100% - 2rem);
87
+ }
88
+ }
89
+
90
+ /* Styling FdsTabsItem component */
91
+ .fds-tabs-item--disabled {
92
+ @apply cursor-not-allowed pointer-events-none opacity-35 select-none;
93
+ }
package/src/style.css ADDED
@@ -0,0 +1,89 @@
1
+ /* Importera tokens från tokens.css - alla design tokens definieras där */
2
+ @import './tokens.css';
3
+ @import 'tailwindcss';
4
+
5
+ @layer base {
6
+ html,
7
+ body,
8
+ #app {
9
+ font-family: var(--font-main);
10
+ -webkit-font-smoothing: antialiased;
11
+ -moz-osx-font-smoothing: grayscale;
12
+ }
13
+ }
14
+
15
+ @layer components {
16
+ h1,
17
+ .h1 {
18
+ @apply font-heading text-2xl sm:text-4xl lg:text-6xl font-extrabold mb-3 mt-0;
19
+ }
20
+ h2,
21
+ .h2 {
22
+ @apply font-heading text-xl sm:text-3xl font-extrabold mt-4 mb-2;
23
+ }
24
+ .h2--small {
25
+ @apply font-heading text-xl font-extrabold mt-4 mb-2;
26
+ }
27
+
28
+ h3,
29
+ .h3 {
30
+ @apply font-heading text-xl font-extrabold mt-4 mb-2;
31
+ }
32
+
33
+ .h3--small {
34
+ @apply font-heading text-lg font-extrabold mt-4 mb-2;
35
+ }
36
+ h1:focus,
37
+ h2:focus,
38
+ h3:focus {
39
+ @apply focus:outline-0;
40
+ }
41
+ .label {
42
+ @apply font-bold mb-2 tracking-wide;
43
+ }
44
+ p {
45
+ @apply mb-4;
46
+ }
47
+ li:not(:last-child) {
48
+ @apply mb-2;
49
+ }
50
+ .link,
51
+ .html a {
52
+ @apply text-blue-600 hover:text-blue-700 active:text-blue-800 underline focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500;
53
+ }
54
+
55
+ .capitalize-first::first-letter {
56
+ text-transform: uppercase;
57
+ }
58
+ }
59
+
60
+ @layer utilities {
61
+ /** Override browser background color when autocomplete field */
62
+ input:not(input[type='checkbox'], input[type='radio']),
63
+ textarea {
64
+ box-shadow: 0 0 0 1000px #fff inset !important;
65
+ }
66
+ /** Style active router link in main nav */
67
+ .nav-items .router-link-active {
68
+ @apply bg-blue-100 text-blue-700 font-bold;
69
+ }
70
+
71
+ #navMenu select {
72
+ @apply focus-visible:outline-dashed focus-visible:outline-2! focus-visible:outline-offset-4! focus-visible:outline-white-solid! focus:border-transparent!;
73
+ }
74
+
75
+ fds-button.fds-button--primary .fds-button__el,
76
+ fds-button.fds-button--secondary .fds-button__el {
77
+ @apply md:min-w-[120px]!;
78
+ }
79
+
80
+ /* Reverse spin utility for spinners */
81
+ @keyframes spin-reverse {
82
+ to {
83
+ transform: rotate(-360deg);
84
+ }
85
+ }
86
+ .animate-spin-reverse {
87
+ animation: spin-reverse 1s linear infinite;
88
+ }
89
+ }
package/src/tokens.css ADDED
@@ -0,0 +1,252 @@
1
+ /* Tailwind CSS v4 @theme - alla tokens för att fungera som Tailwind utilities */
2
+ @theme {
3
+ --font-main: 'IBM-Plex-Sans', 'Arial', sans-serif;
4
+ --font-heading: 'Raleway', 'Arial', sans-serif;
5
+
6
+ --breakpoint-2xs: 320px;
7
+ --breakpoint-xs: 360px;
8
+ --breakpoint-sm: 480px;
9
+ --breakpoint-md: 588px;
10
+ --breakpoint-lg: 824px;
11
+ --breakpoint-xl: 920px;
12
+ --breakpoint-2xl: 964px;
13
+ --breakpoint-3xl: 1068px;
14
+ --breakpoint-4xl: 1268px;
15
+ --breakpoint-5xl: 1436px;
16
+
17
+ --color-blue-100: #ebf4ff;
18
+ --color-blue-200: #c7e4fd;
19
+ --color-blue-300: #9acbfe;
20
+ --color-blue-400: #71abf5;
21
+ --color-blue-500: #3b87dd;
22
+ --color-blue-600: #1d69c2;
23
+ --color-blue-700: #0c4899;
24
+ --color-blue-800: #0f3164;
25
+ --color-blue-900: #051a3b;
26
+
27
+ --color-red-100: #ffefef;
28
+ --color-red-200: #fed7d5;
29
+ --color-red-300: #feb3b0;
30
+ --color-red-400: #fd857e;
31
+ --color-red-500: #fd4c43;
32
+ --color-red-600: #e31c0d;
33
+ --color-red-700: #a41107;
34
+ --color-red-800: #750a03;
35
+ --color-red-900: #3e0301;
36
+
37
+ --color-gray-100: rgba(0, 0, 0, 0.0475);
38
+ --color-gray-200: rgba(0, 0, 0, 0.12);
39
+ --color-gray-300: rgba(0, 0, 0, 0.225);
40
+ --color-gray-400: rgba(0, 0, 0, 0.34);
41
+ --color-gray-500: rgba(0, 0, 0, 0.4625);
42
+ --color-gray-600: rgba(0, 0, 0, 0.59);
43
+ --color-gray-700: rgba(0, 0, 0, 0.7);
44
+ --color-gray-800: rgba(0, 0, 0, 0.795);
45
+ --color-gray-900: rgba(0, 0, 0, 0.895);
46
+
47
+ --color-white-100: rgba(255, 255, 255, 0.0475);
48
+ --color-white-200: rgba(255, 255, 255, 0.12);
49
+ --color-white-300: rgba(255, 255, 255, 0.225);
50
+ --color-white-400: rgba(255, 255, 255, 0.34);
51
+ --color-white-500: rgba(255, 255, 255, 0.4625);
52
+ --color-white-600: rgba(255, 255, 255, 0.59);
53
+ --color-white-700: rgba(255, 255, 255, 0.7);
54
+ --color-white-800: rgba(255, 255, 255, 0.795);
55
+ --color-white-900: rgba(255, 255, 255, 0.895);
56
+ --color-white-solid: #fff;
57
+
58
+ --color-yellow-100: #fff2c6;
59
+ --color-yellow-200: #ffe385;
60
+ --color-yellow-300: #ffd04a;
61
+ --color-yellow-400: #ffba20;
62
+ --color-yellow-500: #f99807;
63
+ --color-yellow-600: #d96f02;
64
+ --color-yellow-700: #b74e06;
65
+ --color-yellow-800: #943b0c;
66
+ --color-yellow-900: #7a310d;
67
+
68
+ --color-green-100: #e6facd;
69
+ --color-green-200: #cff5a1;
70
+ --color-green-300: #aeeb6b;
71
+ --color-green-400: #90dd3e;
72
+ --color-green-500: #70c31f;
73
+ --color-green-600: #559c14;
74
+ --color-green-700: #417714;
75
+ --color-green-800: #375e16;
76
+ --color-green-900: #305017;
77
+
78
+ --color-blue_t-100: rgba(12, 72, 153, 0.0475);
79
+ --color-blue_t-200: rgba(12, 72, 153, 0.12);
80
+ --color-blue_t-300: rgba(12, 72, 153, 0.225);
81
+
82
+ --text-6xl: 2rem;
83
+ --text-5xl: 1.75rem;
84
+ --text-4xl: 1.625rem;
85
+ --text-3xl: 1.5rem;
86
+ --text-2xl: 1.375rem;
87
+ --text-xl: 1.25rem;
88
+ --text-lg: 1.125rem;
89
+ --text-base: 1rem;
90
+
91
+ --drop-shadow-xl: 0 16px 32px rgba(12, 72, 153, 0.12);
92
+ --drop-shadow-lg: 0 12px 24px rgba(12, 72, 153, 0.12);
93
+ --drop-shadow-md: 0 8px 16px rgba(12, 72, 153, 0.12);
94
+ --drop-shadow-sm: 0 4px 8px rgba(12, 72, 153, 0.12);
95
+ --drop-shadow-xs: 0 2px 4px rgba(12, 72, 153, 0.12);
96
+
97
+ --shadow-xl: 0 16px 32px rgba(12, 72, 153, 0.12);
98
+ --shadow-lg: 0 12px 24px rgba(12, 72, 153, 0.12);
99
+ --shadow-md: 0 8px 16px rgba(12, 72, 153, 0.12);
100
+ --shadow-sm: 0 4px 8px rgba(12, 72, 153, 0.12);
101
+ --shadow-xs: 0 2px 4px rgba(12, 72, 153, 0.12);
102
+
103
+ --radius-full: 9999px;
104
+ --radius-3xl: 2rem;
105
+ --radius-2xl: 1rem;
106
+ --radius-xl: 0.75rem;
107
+ --radius-lg: 0.5rem;
108
+ --radius-md: 0.25rem;
109
+ --radius-sm: 0.125rem;
110
+ --radius-none: 0;
111
+
112
+ --tracking-wide: 0.002em;
113
+ --tracking-normal: 0;
114
+ --tracking-tight: -0.005em;
115
+
116
+ --spacing-lg: 1.5;
117
+ --spacing-md: 1.335;
118
+ --spacing-sm: 1.2;
119
+ }
120
+
121
+ /* CSS-variabler för tokens - kan användas direkt i CSS (bakåtkompatibilitet) */
122
+ :root,
123
+ :host {
124
+ --font-main: 'IBM-Plex-Sans', 'Arial', sans-serif;
125
+ --font-heading: 'Raleway', 'Arial', sans-serif;
126
+
127
+ /* Breakpoints som CSS-variabler */
128
+ --breakpoint-2xs: 320px;
129
+ --breakpoint-xs: 360px;
130
+ --breakpoint-sm: 480px;
131
+ --breakpoint-md: 588px;
132
+ --breakpoint-lg: 824px;
133
+ --breakpoint-xl: 920px;
134
+ --breakpoint-2xl: 964px;
135
+ --breakpoint-3xl: 1068px;
136
+ --breakpoint-4xl: 1268px;
137
+ --breakpoint-5xl: 1436px;
138
+
139
+ /* Colors */
140
+ --color-blue-100: #ebf4ff;
141
+ --color-blue-200: #c7e4fd;
142
+ --color-blue-300: #9acbfe;
143
+ --color-blue-400: #71abf5;
144
+ --color-blue-500: #3b87dd;
145
+ --color-blue-600: #1d69c2;
146
+ --color-blue-700: #0c4899;
147
+ --color-blue-800: #0f3164;
148
+ --color-blue-900: #051a3b;
149
+
150
+ --color-red-100: #ffefef;
151
+ --color-red-200: #fed7d5;
152
+ --color-red-300: #feb3b0;
153
+ --color-red-400: #fd857e;
154
+ --color-red-500: #fd4c43;
155
+ --color-red-600: #e31c0d;
156
+ --color-red-700: #a41107;
157
+ --color-red-800: #750a03;
158
+ --color-red-900: #3e0301;
159
+
160
+ --color-gray-100: rgba(0, 0, 0, 0.0475);
161
+ --color-gray-200: rgba(0, 0, 0, 0.12);
162
+ --color-gray-300: rgba(0, 0, 0, 0.225);
163
+ --color-gray-400: rgba(0, 0, 0, 0.34);
164
+ --color-gray-500: rgba(0, 0, 0, 0.4625);
165
+ --color-gray-600: rgba(0, 0, 0, 0.59);
166
+ --color-gray-700: rgba(0, 0, 0, 0.7);
167
+ --color-gray-800: rgba(0, 0, 0, 0.795);
168
+ --color-gray-900: rgba(0, 0, 0, 0.895);
169
+
170
+ --color-white-100: rgba(255, 255, 255, 0.0475);
171
+ --color-white-200: rgba(255, 255, 255, 0.12);
172
+ --color-white-300: rgba(255, 255, 255, 0.225);
173
+ --color-white-400: rgba(255, 255, 255, 0.34);
174
+ --color-white-500: rgba(255, 255, 255, 0.4625);
175
+ --color-white-600: rgba(255, 255, 255, 0.59);
176
+ --color-white-700: rgba(255, 255, 255, 0.7);
177
+ --color-white-800: rgba(255, 255, 255, 0.795);
178
+ --color-white-900: rgba(255, 255, 255, 0.895);
179
+ --color-white-solid: #fff;
180
+
181
+ --color-yellow-100: #fff2c6;
182
+ --color-yellow-200: #ffe385;
183
+ --color-yellow-300: #ffd04a;
184
+ --color-yellow-400: #ffba20;
185
+ --color-yellow-500: #f99807;
186
+ --color-yellow-600: #d96f02;
187
+ --color-yellow-700: #b74e06;
188
+ --color-yellow-800: #943b0c;
189
+ --color-yellow-900: #7a310d;
190
+
191
+ --color-green-100: #e6facd;
192
+ --color-green-200: #cff5a1;
193
+ --color-green-300: #aeeb6b;
194
+ --color-green-400: #90dd3e;
195
+ --color-green-500: #70c31f;
196
+ --color-green-600: #559c14;
197
+ --color-green-700: #417714;
198
+ --color-green-800: #375e16;
199
+ --color-green-900: #305017;
200
+
201
+ --color-blue_t-100: rgba(12, 72, 153, 0.0475);
202
+ --color-blue_t-200: rgba(12, 72, 153, 0.12);
203
+ --color-blue_t-300: rgba(12, 72, 153, 0.225);
204
+
205
+ /* Typography */
206
+ --text-6xl: 2rem;
207
+ --text-5xl: 1.75rem;
208
+ --text-4xl: 1.625rem;
209
+ --text-3xl: 1.5rem;
210
+ --text-2xl: 1.375rem;
211
+ --text-xl: 1.25rem;
212
+ --text-lg: 1.125rem;
213
+ --text-base: 1rem;
214
+
215
+ /* Shadows */
216
+ --drop-shadow-xl: 0 16px 32px rgba(12, 72, 153, 0.12);
217
+ --drop-shadow-lg: 0 12px 24px rgba(12, 72, 153, 0.12);
218
+ --drop-shadow-md: 0 8px 16px rgba(12, 72, 153, 0.12);
219
+ --drop-shadow-sm: 0 4px 8px rgba(12, 72, 153, 0.12);
220
+ --drop-shadow-xs: 0 2px 4px rgba(12, 72, 153, 0.12);
221
+
222
+ --shadow-xl: 0 16px 32px rgba(12, 72, 153, 0.12);
223
+ --shadow-lg: 0 12px 24px rgba(12, 72, 153, 0.12);
224
+ --shadow-md: 0 8px 16px rgba(12, 72, 153, 0.12);
225
+ --shadow-sm: 0 4px 8px rgba(12, 72, 153, 0.12);
226
+ --shadow-xs: 0 2px 4px rgba(12, 72, 153, 0.12);
227
+
228
+ /* Border radius */
229
+ --radius-full: 9999px;
230
+ --radius-3xl: 2rem;
231
+ --radius-2xl: 1rem;
232
+ --radius-xl: 0.75rem;
233
+ --radius-lg: 0.5rem;
234
+ --radius-md: 0.25rem;
235
+ --radius-sm: 0.125rem;
236
+ --radius-none: 0;
237
+
238
+ /* Letter spacing */
239
+ --tracking-wide: 0.002em;
240
+ --tracking-normal: 0;
241
+ --tracking-tight: -0.005em;
242
+
243
+ /* Spacing */
244
+ --spacing-lg: 1.5;
245
+ --spacing-md: 1.335;
246
+ --spacing-sm: 1.2;
247
+ }
248
+
249
+ /* Styling links in default slot of FdsBlockAlert */
250
+ .alert-content .link {
251
+ @apply text-gray-900;
252
+ }
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import './global-components'
2
- export {}