fds-vue-core 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fds-vue-core.cjs.js +3 -2
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +3 -2
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +2 -3
- package/scripts/sync-peers-from-dev.mjs +29 -0
- package/scripts/sync-vscode-settings.mjs +44 -0
- package/src/.DS_Store +0 -0
- package/src/App.vue +0 -133
- package/src/apply.css +0 -60
- package/src/assets/icons.ts +0 -517
- package/src/components/Blocks/FdsBlockAlert/FdsBlockAlert.stories.ts +0 -94
- package/src/components/Blocks/FdsBlockAlert/FdsBlockAlert.vue +0 -112
- package/src/components/Blocks/FdsBlockAlert/types.ts +0 -12
- package/src/components/Blocks/FdsBlockContent/FdsBlockContent.stories.ts +0 -110
- package/src/components/Blocks/FdsBlockContent/FdsBlockContent.vue +0 -66
- package/src/components/Blocks/FdsBlockContent/types.ts +0 -6
- package/src/components/Blocks/FdsBlockExpander/FdsBlockExpander.stories.ts +0 -123
- package/src/components/Blocks/FdsBlockExpander/FdsBlockExpander.vue +0 -87
- package/src/components/Blocks/FdsBlockExpander/types.ts +0 -8
- package/src/components/Blocks/FdsBlockInfo/FdsBlockInfo.stories.ts +0 -110
- package/src/components/Blocks/FdsBlockInfo/FdsBlockInfo.vue +0 -98
- package/src/components/Blocks/FdsBlockInfo/types.ts +0 -8
- package/src/components/Blocks/FdsBlockLink/FdsBlockLink.css +0 -9
- package/src/components/Blocks/FdsBlockLink/FdsBlockLink.stories.ts +0 -179
- package/src/components/Blocks/FdsBlockLink/FdsBlockLink.vue +0 -149
- package/src/components/Blocks/FdsBlockLink/types.ts +0 -14
- package/src/components/Buttons/ButtonBaseProps.ts +0 -18
- package/src/components/Buttons/FdsButtonCopy/FdsButtonCopy.stories.ts +0 -53
- package/src/components/Buttons/FdsButtonCopy/FdsButtonCopy.vue +0 -87
- package/src/components/Buttons/FdsButtonCopy/types.ts +0 -8
- package/src/components/Buttons/FdsButtonDownload/FdsButtonDownload.stories.ts +0 -111
- package/src/components/Buttons/FdsButtonDownload/FdsButtonDownload.vue +0 -187
- package/src/components/Buttons/FdsButtonIcon/FdsButtonIcon.stories.ts +0 -55
- package/src/components/Buttons/FdsButtonIcon/FdsButtonIcon.vue +0 -57
- package/src/components/Buttons/FdsButtonIcon/types.ts +0 -12
- package/src/components/Buttons/FdsButtonMinor/FdsButtonMinor.stories.ts +0 -68
- package/src/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue +0 -126
- package/src/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.stories.ts +0 -86
- package/src/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue +0 -107
- package/src/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.stories.ts +0 -68
- package/src/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue +0 -107
- package/src/components/FdsIcon/FdsIcon.stories.ts +0 -69
- package/src/components/FdsIcon/FdsIcon.vue +0 -34
- package/src/components/FdsIcon/types.ts +0 -9
- package/src/components/FdsModal/FdsModal.stories.ts +0 -241
- package/src/components/FdsModal/FdsModal.vue +0 -261
- package/src/components/FdsModal/types.ts +0 -12
- package/src/components/FdsPagination/FdsPagination.stories.ts +0 -109
- package/src/components/FdsPagination/FdsPagination.vue +0 -193
- package/src/components/FdsPagination/types.ts +0 -6
- package/src/components/FdsSearchSelect/FdsSearchSelect.stories.ts +0 -428
- package/src/components/FdsSearchSelect/FdsSearchSelect.vue +0 -610
- package/src/components/FdsSearchSelect/types.ts +0 -25
- package/src/components/FdsSpinner/FdsSpinner.stories.ts +0 -31
- package/src/components/FdsSpinner/FdsSpinner.vue +0 -90
- package/src/components/FdsSpinner/types.ts +0 -6
- package/src/components/FdsSticker/FdsSticker.stories.ts +0 -148
- package/src/components/FdsSticker/FdsSticker.vue +0 -44
- package/src/components/FdsSticker/types.ts +0 -4
- package/src/components/FdsTreeView/FdsTreeView.stories.ts +0 -136
- package/src/components/FdsTreeView/FdsTreeView.vue +0 -162
- package/src/components/FdsTreeView/TreeNode.vue +0 -383
- package/src/components/FdsTreeView/types.ts +0 -141
- package/src/components/FdsTreeView/useTreeState.ts +0 -607
- package/src/components/FdsTreeView/utils.ts +0 -65
- package/src/components/FdsTruncatedText/FdsTruncatedText.stories.ts +0 -78
- package/src/components/FdsTruncatedText/FdsTruncatedText.vue +0 -85
- package/src/components/FdsTruncatedText/types.ts +0 -6
- package/src/components/Form/FdsCheckbox/FdsCheckbox.stories.ts +0 -275
- package/src/components/Form/FdsCheckbox/FdsCheckbox.vue +0 -155
- package/src/components/Form/FdsCheckbox/types.ts +0 -10
- package/src/components/Form/FdsInput/FdsInput.stories.ts +0 -319
- package/src/components/Form/FdsInput/FdsInput.vue +0 -233
- package/src/components/Form/FdsInput/types.ts +0 -25
- package/src/components/Form/FdsRadio/FdsRadio.stories.ts +0 -63
- package/src/components/Form/FdsRadio/FdsRadio.vue +0 -88
- package/src/components/Form/FdsRadio/types.ts +0 -12
- package/src/components/Form/FdsSelect/FdsSelect.stories.ts +0 -78
- package/src/components/Form/FdsSelect/FdsSelect.vue +0 -136
- package/src/components/Form/FdsSelect/types.ts +0 -13
- package/src/components/Form/FdsTextarea/FdsTextarea.stories.ts +0 -52
- package/src/components/Form/FdsTextarea/FdsTextarea.vue +0 -110
- package/src/components/Form/FdsTextarea/types.ts +0 -12
- package/src/components/Table/FdsTable/FdsTable.stories.ts +0 -221
- package/src/components/Table/FdsTable/FdsTable.vue +0 -25
- package/src/components/Table/FdsTable/types.ts +0 -4
- package/src/components/Table/FdsTableHead/FdsTableHead.stories.ts +0 -151
- package/src/components/Table/FdsTableHead/FdsTableHead.vue +0 -54
- package/src/components/Table/FdsTableHead/types.ts +0 -5
- package/src/components/Tabs/FdsTabs/FdsTabs.stories.ts +0 -247
- package/src/components/Tabs/FdsTabs/FdsTabs.vue +0 -27
- package/src/components/Tabs/FdsTabs/types.ts +0 -4
- package/src/components/Tabs/FdsTabsItem/FdsTabsItem.vue +0 -125
- package/src/components/Tabs/FdsTabsItem/types.ts +0 -16
- package/src/components/Typography/FdsHeading/FdsHeading.stories.ts +0 -93
- package/src/components/Typography/FdsHeading/FdsHeading.vue +0 -51
- package/src/components/Typography/FdsHeading/types.ts +0 -5
- package/src/components/Typography/FdsListHeading/FdsListHeading.stories.ts +0 -58
- package/src/components/Typography/FdsListHeading/FdsListHeading.vue +0 -62
- package/src/components/Typography/FdsListHeading/types.ts +0 -8
- package/src/components/Typography/FdsSeparator/FdsSeparator.stories.ts +0 -31
- package/src/components/Typography/FdsSeparator/FdsSeparator.vue +0 -5
- package/src/components/Typography/FdsText/FdsText.stories.ts +0 -66
- package/src/components/Typography/FdsText/FdsText.vue +0 -28
- package/src/components/Typography/FdsText/types.ts +0 -3
- package/src/composables/useBoldQuery.ts +0 -29
- package/src/composables/useElementFinalSize.ts +0 -24
- package/src/composables/useHasSlots.ts +0 -17
- package/src/composables/useIsPid.ts +0 -48
- package/src/docs/Start/Start.mdx +0 -12
- package/src/docs/Usage.md +0 -117
- package/src/fonts.css +0 -28
- package/src/global-components.ts +0 -38
- package/src/index.ts +0 -180
- package/src/main.ts +0 -7
- package/src/slot-styles.css +0 -93
- package/src/style.css +0 -89
- package/src/tokens.css +0 -252
- package/tsconfig.base.json +0 -4
package/src/slot-styles.css
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,252 +0,0 @@
|
|
|
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/tsconfig.base.json
DELETED