@arkitektbedriftene/fe-lib 5.11.2 → 6.0.0
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 +44 -3
- package/dist/fonts.css +1 -1
- package/dist/rich-text/styles.d.ts +3 -3
- package/dist/rich-text.es.js +1 -1
- package/dist/{stitches.config-DTq6WSgP.js → stitches.config-gk2-nbbz.js} +3 -3
- package/dist/system.css +1 -1
- package/dist/ui/components/Alert.d.ts +3 -3
- package/dist/ui/components/Avatar.d.ts +3 -3
- package/dist/ui/components/Badge.d.ts +3 -3
- package/dist/ui/components/Box.d.ts +3 -3
- package/dist/ui/components/Button.d.ts +3 -3
- package/dist/ui/components/Card.d.ts +3 -3
- package/dist/ui/components/Dialog.d.ts +9 -9
- package/dist/ui/components/Form/Checkbox.d.ts +3 -3
- package/dist/ui/components/Form/Switch.d.ts +6 -6
- package/dist/ui/components/Form/TextArea.d.ts +3 -3
- package/dist/ui/components/Form/TextInput.d.ts +3 -3
- package/dist/ui/components/Form/text.d.ts +6 -6
- package/dist/ui/components/Menu/DropdownMenu.d.ts +9 -9
- package/dist/ui/components/Menu/Menu.d.ts +9 -9
- package/dist/ui/components/NavBar.d.ts +3 -3
- package/dist/ui/components/OverlayCard.d.ts +3 -3
- package/dist/ui/components/Spinner.d.ts +3 -3
- package/dist/ui/components/Stack.d.ts +3 -3
- package/dist/ui/components/Toolbar.d.ts +12 -12
- package/dist/ui/stitches.config.d.ts +18 -18
- package/dist/ui.es.js +2 -2
- package/package.json +1 -7
- package/dist/normalize.css +0 -1
- package/dist/normalize.css.d.ts +0 -1
- package/dist/ui.css +0 -1
- package/dist/ui.css.d.ts +0 -1
package/README.md
CHANGED
|
@@ -1,7 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
### 1. Innstallér pakken
|
|
1
|
+
# Design system
|
|
4
2
|
|
|
5
3
|
```
|
|
6
4
|
npm install @arkitektbedriftene/fe-lib
|
|
7
5
|
```
|
|
6
|
+
|
|
7
|
+
### @arkitektbedriftene/fe-lib/ui
|
|
8
|
+
|
|
9
|
+
The **UI design system** was built with **Stitches (CSS-in-JS)** and is based on the old visual profile.
|
|
10
|
+
|
|
11
|
+
Stitches is now discontinued, so this design system should be considered **legacy**. However, it is still widely used and must continue to live **in parallel with the new Tailwind-based system**.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
### @arkitektbedriftene/fe-lib/system
|
|
16
|
+
|
|
17
|
+
The **System design system** is built with **Tailwind** and is based on the **new visual profile**.
|
|
18
|
+
It is a **work in progress (WIP)** and was created in connection with the new website.
|
|
19
|
+
|
|
20
|
+
Most services now use **/ui** and **/system** in parallel.
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
##### app.css
|
|
25
|
+
```css
|
|
26
|
+
@import "tailwindcss";
|
|
27
|
+
|
|
28
|
+
/* Import System base styles and Fonts */
|
|
29
|
+
@source "@arkitektbedriftene/fe-lib/dist/system";
|
|
30
|
+
@import "@arkitektbedriftene/fe-lib/dist/fonts.css";
|
|
31
|
+
@import "@arkitektbedriftene/fe-lib/dist/system.css";
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
##### App.tsx
|
|
35
|
+
```javascript
|
|
36
|
+
import { Button as UIButton } from "@arkitektbedriftene/fe-lib/ui"
|
|
37
|
+
import { Button as SystemButton } from "@arkitektbedriftene/fe-lib/system/Button"
|
|
38
|
+
|
|
39
|
+
const App = () => {
|
|
40
|
+
return (
|
|
41
|
+
<>
|
|
42
|
+
<UIButton>UI button</UIButton>
|
|
43
|
+
<SystemButton>System button</SystemButton>
|
|
44
|
+
<button className="btn">System button</button>
|
|
45
|
+
</>
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
```
|
package/dist/fonts.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-BoldItalic.woff2) format("woff2");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:STKBureauSerif;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSerif-Book.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{--font-stk-bureau-sans: "STKBureauSans", sans-serif;--font-stk-bureau-serif: "STKBureauSerif", serif}
|
|
1
|
+
@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-BoldItalic.woff2) format("woff2");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:STKBureauSerif;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSerif-Book.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{--font-stk-bureau-sans: "STKBureauSans", sans-serif;--font-stk-bureau-serif: "STKBureauSerif", serif}
|
|
@@ -306,9 +306,9 @@ export declare const richTextCss: import('@stitches/react/types/styled-component
|
|
|
306
306
|
"3xl": "1.875rem";
|
|
307
307
|
};
|
|
308
308
|
fontWeights: {
|
|
309
|
-
normal: "var(--ui-font-weight-normal)";
|
|
310
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
311
|
-
bold: "var(--ui-font-weight-bold)";
|
|
309
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
310
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
311
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
312
312
|
};
|
|
313
313
|
space: {
|
|
314
314
|
1: "0.25rem";
|
package/dist/rich-text.es.js
CHANGED
|
@@ -21,7 +21,7 @@ import { RichTextPlugin as mr } from "@lexical/react/LexicalRichTextPlugin.js";
|
|
|
21
21
|
import { LexicalErrorBoundary as fr } from "@lexical/react/LexicalErrorBoundary.js";
|
|
22
22
|
import { useFloating as Ct, autoUpdate as ie, size as kr, flip as br, offset as oe, shift as Cr, useInteractions as ae, useRole as le, FloatingPortal as se, inline as vr, useDismiss as xr } from "@floating-ui/react";
|
|
23
23
|
import { G as f } from "./iconBase-LROS5hdG.js";
|
|
24
|
-
import { s as Tr, c as Mr } from "./stitches.config-
|
|
24
|
+
import { s as Tr, c as Mr } from "./stitches.config-gk2-nbbz.js";
|
|
25
25
|
import { ListPlugin as Lr } from "@lexical/react/LexicalListPlugin.js";
|
|
26
26
|
import { HistoryPlugin as wr } from "@lexical/react/LexicalHistoryPlugin.js";
|
|
27
27
|
import { TablePlugin as _r } from "@lexical/react/LexicalTablePlugin.js";
|
|
@@ -96,9 +96,9 @@ const r = () => (e--, e), { styled: g, css: d, keyframes: s, globalCss: o, getCs
|
|
|
96
96
|
// 30px
|
|
97
97
|
},
|
|
98
98
|
fontWeights: {
|
|
99
|
-
normal: "var(--ui-font-weight-normal)",
|
|
100
|
-
medium: "var(--ui-font-weight-semibold)",
|
|
101
|
-
bold: "var(--ui-font-weight-bold)"
|
|
99
|
+
normal: "var(--ui-font-weight-normal, 400)",
|
|
100
|
+
medium: "var(--ui-font-weight-semibold, 500)",
|
|
101
|
+
bold: "var(--ui-font-weight-bold, 700)"
|
|
102
102
|
},
|
|
103
103
|
space: {
|
|
104
104
|
1: "0.25rem",
|
package/dist/system.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@theme{--*: initial; --default-transition-duration: .2s; --breakpoint-sm: 40rem; --breakpoint-md: 54rem; --breakpoint-lg: 64rem; --breakpoint-xl: 74rem; --spacing: 4px; --font-serif: var(--font-stk-bureau-serif); --font-sans-serif: var(--font-stk-bureau-sans); --font-weight-bold: 700; --color-black: #1d1d1d; --color-white: #ffffff; --color-blue: #4184cd; --color-flask: #122a0d; --color-flask-hover: #173611; --color-flask-light: #1e4216; --color-flask-light-hover: #28571d; --color-clay: #eee6d3; --color-clay-hover: #d6c9b6; --color-sand: #f3f1eb; --color-sand-hover: #e6dfce; --color-warning: #FFE1C3; --color-warning-light: #FFF8F2; --color-warning-dark: #9E5400; --color-danger: #FFC5C1; --color-danger-light: #FEF3F2; --color-danger-dark: #C72619; --color-success: #B8E0B0; --color-success-light: #ECFDF3; --color-success-dark: #2D6D20; --color-info: #C1D4FF; --color-info-light: #F2F6FE; --color-info-dark: #1946C7; --text-xs: clamp(.6944rem,.6856rem + .0444vw,.72rem); --text-sm: clamp(.8333rem,.8101rem + .1159vw,.9rem); --text-base: clamp(1rem,.9565rem + .2174vw,1.125rem); --text-md: clamp(1.2rem,1.1283rem + .3587vw,1.4063rem); --text-lg: clamp(1.44rem,1.3295rem + .5527vw,1.7578rem); --text-xl: clamp(1.728rem,1.5648rem + .8161vw,2.1973rem); --text-2xl: clamp(2.0736rem,1.8395rem + 1.1704vw,2.7466rem); --text-3xl: clamp(2.4883rem,2.1597rem + 1.6433vw,3.4332rem); --text-xs--line-height: 1.7; --text-sm--line-height: 1.6; --text-base--line-height: 1.5; --text-lg--line-height: 1.4; --text-xl--line-height: 1.3; --text-2xl--line-height: 1.2; --text-3xl--line-height: 1.1; --container-page: calc(var(--page-width) * 1px); --container-article: 800px; --container-event: 1300px; --radius-sm: .25rem; --radius-md: .5rem; --blur-md: .2rem; --blur-lg: .4rem; --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1),0 4px 6px -4px rgb(0 0 0 / .1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1),0 8px 10px -6px rgb(0 0 0 / .1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25); --aspect-video: 16 / 9; @keyframes spinner-logo {0% {transform: scale(.95) rotate(-15deg); opacity: 0;} 20% {transform: scale(1) rotate(0deg); opacity: 1;} 70% {transform: scale(1) rotate(0deg); opacity: 1;} 100% {transform: scale(.95) rotate(-15deg); opacity: 0;}} @keyframes spinner-logo-letter {0% {transform: translateY(-8px) rotate(-25deg) scale(.8); opacity: 0;} 6% {opacity: .3;} 20% {transform: translateY(0px) rotate(0deg) scale(1); opacity: 1;} 70% {transform: translateY(0px) rotate(0deg) scale(1); opacity: 1;} 100% {transform: translateY(-8px) rotate(-25deg) scale(.8); opacity: 0;}} --animate-spinner-logo: spinner-logo 3s cubic-bezier(.25,.46,.45,.94) infinite; --animate-spinner-logo-letter: spinner-logo-letter 3s cubic-bezier(.34,1.56,.64,1) infinite; @keyframes spinner {0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);}} @keyframes spinner-circle {0% {stroke-dashoffset: 600;} 100% {stroke-dashoffset: 0;}} --animate-spinner: spinner 2s linear infinite; --animate-spinner-circle: spinner-circle 1.6s cubic-bezier(.4,.15,.6,.85) infinite;}@layer components{.btn{@apply bg-flask-light;@apply text-white;@apply px-4;@apply text-sm;@apply h-[2rem];@apply w-fit;@apply inline-flex;@apply items-center;@apply justify-center;@apply gap-x-2;@apply rounded-md;@apply transition-colors;@apply cursor-pointer;@variant focus{@apply ring ring-offset-2 ring-clay;}@variant hover{@apply bg-flask-light-hover;}@variant disabled{&:not([data-loading=true]) {@apply opacity-60; @apply cursor-not-allowed;}}}.btn>svg{@apply shrink-0;}.btn.btn-secondary{@apply bg-clay;@apply text-black;@variant hover{@apply bg-clay-hover;}}.btn.btn-tertiary{@apply bg-sand;@apply text-black;@variant hover{@apply bg-sand-hover;}}.btn.btn-danger{@apply bg-danger-dark;@apply text-danger-light;@variant hover{@apply bg-danger-dark/70;}}.btn.btn-warning{@apply bg-warning-dark;@apply text-warning-light;@variant hover{@apply bg-warning-dark/70;}}.btn.btn-success{@apply bg-success-dark;@apply text-success-light;@variant hover{@apply bg-success-dark/70;}}.btn.btn-outline{@apply bg-transparent;@apply text-black;@apply ring-2;@apply ring-inset;@apply ring-flask-light;@variant hover{@apply bg-flask-light; @apply text-white;}}.btn.btn-outline.btn-secondary{@apply ring-clay;@variant hover{@apply bg-clay; @apply text-black;}}.btn.btn-outline.btn-danger{@apply ring-danger-dark;@apply text-danger-dark;@variant hover{@apply bg-danger-dark; @apply text-danger-light;}}.btn.btn-transparent{@apply bg-transparent;@apply text-black;@variant hover{@apply bg-flask-light; @apply text-white;}}.btn.btn-transparent.btn-secondary{@variant hover{@apply bg-clay; @apply text-black;}}.btn.btn-transparent.btn-tertiary{@variant hover{@apply bg-sand; @apply text-black;}}.dropdown{@apply rounded-md bg-white p-1 shadow-lg;}.dropdown-separator{height:1px;@apply bg-sand my-1;}.dropdown-item{@apply flex items-center w-full px-4 py-2 text-sm cursor-pointer transition-colors;@apply rounded-md;@apply text-left;@apply text-black;@variant hover{@apply bg-sand;}}.dropdown-item-icon-right{@apply pr-3;}.input{@apply bg-sand;@apply rounded-sm;@apply px-4;@apply py-2;@apply text-sm;@apply inline-flex;@apply transition-colors;@variant focus{@apply ring-2 ring-offset-2 ring-clay; @apply outline-none;}}.link{@apply text-black underline;}.alert{@apply px-3;@apply py-2;@apply rounded-md;@apply text-sm;@apply inline-flex;@apply items-center;@apply gap-x-2;}.alert.alert-warning{@apply bg-warning-light;@apply text-warning-dark;@apply border border-warning;}.alert.alert-danger{@apply bg-danger-light;@apply text-danger-dark;@apply border border-danger;}.alert.alert-info{@apply bg-info-light;@apply text-info-dark;@apply border border-info;}.alert.alert-success{@apply bg-success-light;@apply text-success-dark;@apply border border-success;}.tbl{@apply w-full;@apply border-collapse;@apply bg-white;@apply text-black;@apply text-sm;@apply border border-black;}.tbl th{@apply font-bold;@apply text-left;}.tbl td,.tbl th{@apply px-4;@apply py-3;@apply border-b border-black;@apply border-r border-black;}.tbl tbody tr{@apply transition-colors;@variant hover{@apply bg-sand;}}.tabs{@apply flex border-b-2 border-clay;@apply gap-x-2;@apply pb-1;}.tab{@apply px-4 py-2;@apply rounded-md;@apply font-bold;@apply text-sm;@apply transition;@apply cursor-pointer;@apply flex items-center;}.tab:hover{@apply bg-clay/70;}.tab.active{@apply bg-clay;}.input-radio{@apply accent-flask;}.form-label{@apply block;@apply text-base;@apply mb-1;}.spinner-logo{animation:var(--animate-spinner-logo)}.spinner-logo>svg>path{transform-origin:center center;opacity:0;animation:var(--animate-spinner-logo-letter)}.spinner-logo>svg>path:nth-child(1){animation-delay:.1s}.spinner-logo>svg>path:nth-child(2){animation-delay:.2s}.spinner-logo>svg>path:nth-child(3){animation-delay:.3s}.spinner-logo>svg>path:nth-child(4){animation-delay:.4s}.spinner-logo>svg>path:nth-child(5){animation-delay:.5s}.spinner-logo>svg>path:nth-child(6){animation-delay:.6s}}@utility btn-icon{@apply px-0; @apply w-[2rem];}
|
|
1
|
+
@theme{--*: initial; --default-transition-duration: .2s; --breakpoint-sm: 40rem; --breakpoint-md: 54rem; --breakpoint-lg: 64rem; --breakpoint-xl: 74rem; --spacing: 4px; --font-serif: var(--font-stk-bureau-serif, serif); --font-sans-serif: var(--font-stk-bureau-sans, sans-serif); --font-weight-bold: 700; --color-black: #1d1d1d; --color-white: #ffffff; --color-blue: #4184cd; --color-flask: #122a0d; --color-flask-hover: #173611; --color-flask-light: #1e4216; --color-flask-light-hover: #28571d; --color-clay: #eee6d3; --color-clay-hover: #d6c9b6; --color-sand: #f3f1eb; --color-sand-hover: #e6dfce; --color-warning: #FFE1C3; --color-warning-light: #FFF8F2; --color-warning-dark: #9E5400; --color-danger: #FFC5C1; --color-danger-light: #FEF3F2; --color-danger-dark: #C72619; --color-success: #B8E0B0; --color-success-light: #ECFDF3; --color-success-dark: #2D6D20; --color-info: #C1D4FF; --color-info-light: #F2F6FE; --color-info-dark: #1946C7; --text-xs: clamp(.6944rem,.6856rem + .0444vw,.72rem); --text-sm: clamp(.8333rem,.8101rem + .1159vw,.9rem); --text-base: clamp(1rem,.9565rem + .2174vw,1.125rem); --text-md: clamp(1.2rem,1.1283rem + .3587vw,1.4063rem); --text-lg: clamp(1.44rem,1.3295rem + .5527vw,1.7578rem); --text-xl: clamp(1.728rem,1.5648rem + .8161vw,2.1973rem); --text-2xl: clamp(2.0736rem,1.8395rem + 1.1704vw,2.7466rem); --text-3xl: clamp(2.4883rem,2.1597rem + 1.6433vw,3.4332rem); --text-xs--line-height: 1.7; --text-sm--line-height: 1.6; --text-base--line-height: 1.5; --text-lg--line-height: 1.4; --text-xl--line-height: 1.3; --text-2xl--line-height: 1.2; --text-3xl--line-height: 1.1; --container-page: calc(var(--page-width) * 1px); --container-article: 800px; --container-event: 1300px; --radius-sm: .25rem; --radius-md: .5rem; --blur-md: .2rem; --blur-lg: .4rem; --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1),0 4px 6px -4px rgb(0 0 0 / .1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1),0 8px 10px -6px rgb(0 0 0 / .1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25); --aspect-video: 16 / 9; @keyframes spinner-logo {0% {transform: scale(.95) rotate(-15deg); opacity: 0;} 20% {transform: scale(1) rotate(0deg); opacity: 1;} 70% {transform: scale(1) rotate(0deg); opacity: 1;} 100% {transform: scale(.95) rotate(-15deg); opacity: 0;}} @keyframes spinner-logo-letter {0% {transform: translateY(-8px) rotate(-25deg) scale(.8); opacity: 0;} 6% {opacity: .3;} 20% {transform: translateY(0px) rotate(0deg) scale(1); opacity: 1;} 70% {transform: translateY(0px) rotate(0deg) scale(1); opacity: 1;} 100% {transform: translateY(-8px) rotate(-25deg) scale(.8); opacity: 0;}} --animate-spinner-logo: spinner-logo 3s cubic-bezier(.25,.46,.45,.94) infinite; --animate-spinner-logo-letter: spinner-logo-letter 3s cubic-bezier(.34,1.56,.64,1) infinite; @keyframes spinner {0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);}} @keyframes spinner-circle {0% {stroke-dashoffset: 600;} 100% {stroke-dashoffset: 0;}} --animate-spinner: spinner 2s linear infinite; --animate-spinner-circle: spinner-circle 1.6s cubic-bezier(.4,.15,.6,.85) infinite;}@layer components{.btn{@apply bg-flask-light;@apply text-white;@apply px-4;@apply text-sm;@apply h-[2rem];@apply w-fit;@apply inline-flex;@apply items-center;@apply justify-center;@apply gap-x-2;@apply rounded-md;@apply transition-colors;@apply cursor-pointer;@variant focus{@apply ring ring-offset-2 ring-clay;}@variant hover{@apply bg-flask-light-hover;}@variant disabled{&:not([data-loading=true]) {@apply opacity-60; @apply cursor-not-allowed;}}}.btn>svg{@apply shrink-0;}.btn.btn-secondary{@apply bg-clay;@apply text-black;@variant hover{@apply bg-clay-hover;}}.btn.btn-tertiary{@apply bg-sand;@apply text-black;@variant hover{@apply bg-sand-hover;}}.btn.btn-danger{@apply bg-danger-dark;@apply text-danger-light;@variant hover{@apply bg-danger-dark/70;}}.btn.btn-warning{@apply bg-warning-dark;@apply text-warning-light;@variant hover{@apply bg-warning-dark/70;}}.btn.btn-success{@apply bg-success-dark;@apply text-success-light;@variant hover{@apply bg-success-dark/70;}}.btn.btn-outline{@apply bg-transparent;@apply text-black;@apply ring-2;@apply ring-inset;@apply ring-flask-light;@variant hover{@apply bg-flask-light; @apply text-white;}}.btn.btn-outline.btn-secondary{@apply ring-clay;@variant hover{@apply bg-clay; @apply text-black;}}.btn.btn-outline.btn-danger{@apply ring-danger-dark;@apply text-danger-dark;@variant hover{@apply bg-danger-dark; @apply text-danger-light;}}.btn.btn-transparent{@apply bg-transparent;@apply text-black;@variant hover{@apply bg-flask-light; @apply text-white;}}.btn.btn-transparent.btn-secondary{@variant hover{@apply bg-clay; @apply text-black;}}.btn.btn-transparent.btn-tertiary{@variant hover{@apply bg-sand; @apply text-black;}}.dropdown{@apply rounded-md bg-white p-1 shadow-lg;}.dropdown-separator{height:1px;@apply bg-sand my-1;}.dropdown-item{@apply flex items-center w-full px-4 py-2 text-sm cursor-pointer transition-colors;@apply rounded-md;@apply text-left;@apply text-black;@variant hover{@apply bg-sand;}}.dropdown-item-icon-right{@apply pr-3;}.input{@apply bg-sand;@apply rounded-sm;@apply px-4;@apply py-2;@apply text-sm;@apply inline-flex;@apply transition-colors;@variant focus{@apply ring-2 ring-offset-2 ring-clay; @apply outline-none;}}.link{@apply text-black underline;}.alert{@apply px-3;@apply py-2;@apply rounded-md;@apply text-sm;@apply inline-flex;@apply items-center;@apply gap-x-2;}.alert.alert-warning{@apply bg-warning-light;@apply text-warning-dark;@apply border border-warning;}.alert.alert-danger{@apply bg-danger-light;@apply text-danger-dark;@apply border border-danger;}.alert.alert-info{@apply bg-info-light;@apply text-info-dark;@apply border border-info;}.alert.alert-success{@apply bg-success-light;@apply text-success-dark;@apply border border-success;}.tbl{@apply w-full;@apply border-collapse;@apply bg-white;@apply text-black;@apply text-sm;@apply border border-black;}.tbl th{@apply font-bold;@apply text-left;}.tbl td,.tbl th{@apply px-4;@apply py-3;@apply border-b border-black;@apply border-r border-black;}.tbl tbody tr{@apply transition-colors;@variant hover{@apply bg-sand;}}.tabs{@apply flex border-b-2 border-clay;@apply gap-x-2;@apply pb-1;}.tab{@apply px-4 py-2;@apply rounded-md;@apply font-bold;@apply text-sm;@apply transition;@apply cursor-pointer;@apply flex items-center;}.tab:hover{@apply bg-clay/70;}.tab.active{@apply bg-clay;}.input-radio{@apply accent-flask;}.form-label{@apply block;@apply text-base;@apply mb-1;}.spinner-logo{animation:var(--animate-spinner-logo)}.spinner-logo>svg>path{transform-origin:center center;opacity:0;animation:var(--animate-spinner-logo-letter)}.spinner-logo>svg>path:nth-child(1){animation-delay:.1s}.spinner-logo>svg>path:nth-child(2){animation-delay:.2s}.spinner-logo>svg>path:nth-child(3){animation-delay:.3s}.spinner-logo>svg>path:nth-child(4){animation-delay:.4s}.spinner-logo>svg>path:nth-child(5){animation-delay:.5s}.spinner-logo>svg>path:nth-child(6){animation-delay:.6s}}@utility btn-icon{@apply px-0; @apply w-[2rem];}body{@apply font-sans-serif;@apply antialiased;}
|
|
@@ -95,9 +95,9 @@ declare const AlertStyled: import('@stitches/react/types/styled-component').Styl
|
|
|
95
95
|
"3xl": "1.875rem";
|
|
96
96
|
};
|
|
97
97
|
fontWeights: {
|
|
98
|
-
normal: "var(--ui-font-weight-normal)";
|
|
99
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
100
|
-
bold: "var(--ui-font-weight-bold)";
|
|
98
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
99
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
100
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
101
101
|
};
|
|
102
102
|
space: {
|
|
103
103
|
1: "0.25rem";
|
|
@@ -95,9 +95,9 @@ declare const AvatarCircle: import('@stitches/react/types/styled-component').Sty
|
|
|
95
95
|
"3xl": "1.875rem";
|
|
96
96
|
};
|
|
97
97
|
fontWeights: {
|
|
98
|
-
normal: "var(--ui-font-weight-normal)";
|
|
99
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
100
|
-
bold: "var(--ui-font-weight-bold)";
|
|
98
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
99
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
100
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
101
101
|
};
|
|
102
102
|
space: {
|
|
103
103
|
1: "0.25rem";
|
|
@@ -94,9 +94,9 @@ export declare const Badge: import('@stitches/react/types/styled-component').Sty
|
|
|
94
94
|
"3xl": "1.875rem";
|
|
95
95
|
};
|
|
96
96
|
fontWeights: {
|
|
97
|
-
normal: "var(--ui-font-weight-normal)";
|
|
98
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
99
|
-
bold: "var(--ui-font-weight-bold)";
|
|
97
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
98
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
99
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
100
100
|
};
|
|
101
101
|
space: {
|
|
102
102
|
1: "0.25rem";
|
|
@@ -92,9 +92,9 @@ export declare const Box: import('@stitches/react/types/styled-component').Style
|
|
|
92
92
|
"3xl": "1.875rem";
|
|
93
93
|
};
|
|
94
94
|
fontWeights: {
|
|
95
|
-
normal: "var(--ui-font-weight-normal)";
|
|
96
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
97
|
-
bold: "var(--ui-font-weight-bold)";
|
|
95
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
96
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
97
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
98
98
|
};
|
|
99
99
|
space: {
|
|
100
100
|
1: "0.25rem";
|
|
@@ -97,9 +97,9 @@ declare const ButtonStyled: import('@stitches/react/types/styled-component').Sty
|
|
|
97
97
|
"3xl": "1.875rem";
|
|
98
98
|
};
|
|
99
99
|
fontWeights: {
|
|
100
|
-
normal: "var(--ui-font-weight-normal)";
|
|
101
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
102
|
-
bold: "var(--ui-font-weight-bold)";
|
|
100
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
101
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
102
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
103
103
|
};
|
|
104
104
|
space: {
|
|
105
105
|
1: "0.25rem";
|
|
@@ -97,9 +97,9 @@ export declare const Card: import('@stitches/react/types/styled-component').Styl
|
|
|
97
97
|
"3xl": "1.875rem";
|
|
98
98
|
};
|
|
99
99
|
fontWeights: {
|
|
100
|
-
normal: "var(--ui-font-weight-normal)";
|
|
101
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
102
|
-
bold: "var(--ui-font-weight-bold)";
|
|
100
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
101
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
102
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
103
103
|
};
|
|
104
104
|
space: {
|
|
105
105
|
1: "0.25rem";
|
|
@@ -94,9 +94,9 @@ declare const DialogContent: import('@stitches/react/types/styled-component').St
|
|
|
94
94
|
"3xl": "1.875rem";
|
|
95
95
|
};
|
|
96
96
|
fontWeights: {
|
|
97
|
-
normal: "var(--ui-font-weight-normal)";
|
|
98
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
99
|
-
bold: "var(--ui-font-weight-bold)";
|
|
97
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
98
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
99
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
100
100
|
};
|
|
101
101
|
space: {
|
|
102
102
|
1: "0.25rem";
|
|
@@ -227,9 +227,9 @@ export declare const DialogHeader: import('@stitches/react/types/styled-componen
|
|
|
227
227
|
"3xl": "1.875rem";
|
|
228
228
|
};
|
|
229
229
|
fontWeights: {
|
|
230
|
-
normal: "var(--ui-font-weight-normal)";
|
|
231
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
232
|
-
bold: "var(--ui-font-weight-bold)";
|
|
230
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
231
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
232
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
233
233
|
};
|
|
234
234
|
space: {
|
|
235
235
|
1: "0.25rem";
|
|
@@ -352,9 +352,9 @@ export declare const DialogActions: import('@stitches/react/types/styled-compone
|
|
|
352
352
|
"3xl": "1.875rem";
|
|
353
353
|
};
|
|
354
354
|
fontWeights: {
|
|
355
|
-
normal: "var(--ui-font-weight-normal)";
|
|
356
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
357
|
-
bold: "var(--ui-font-weight-bold)";
|
|
355
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
356
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
357
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
358
358
|
};
|
|
359
359
|
space: {
|
|
360
360
|
1: "0.25rem";
|
|
@@ -97,9 +97,9 @@ declare const Root: import('@stitches/react/types/styled-component').StyledCompo
|
|
|
97
97
|
"3xl": "1.875rem";
|
|
98
98
|
};
|
|
99
99
|
fontWeights: {
|
|
100
|
-
normal: "var(--ui-font-weight-normal)";
|
|
101
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
102
|
-
bold: "var(--ui-font-weight-bold)";
|
|
100
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
101
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
102
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
103
103
|
};
|
|
104
104
|
space: {
|
|
105
105
|
1: "0.25rem";
|
|
@@ -95,9 +95,9 @@ declare const Root: import('@stitches/react/types/styled-component').StyledCompo
|
|
|
95
95
|
"3xl": "1.875rem";
|
|
96
96
|
};
|
|
97
97
|
fontWeights: {
|
|
98
|
-
normal: "var(--ui-font-weight-normal)";
|
|
99
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
100
|
-
bold: "var(--ui-font-weight-bold)";
|
|
98
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
99
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
100
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
101
101
|
};
|
|
102
102
|
space: {
|
|
103
103
|
1: "0.25rem";
|
|
@@ -222,9 +222,9 @@ declare const Label: import('@stitches/react/types/styled-component').StyledComp
|
|
|
222
222
|
"3xl": "1.875rem";
|
|
223
223
|
};
|
|
224
224
|
fontWeights: {
|
|
225
|
-
normal: "var(--ui-font-weight-normal)";
|
|
226
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
227
|
-
bold: "var(--ui-font-weight-bold)";
|
|
225
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
226
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
227
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
228
228
|
};
|
|
229
229
|
space: {
|
|
230
230
|
1: "0.25rem";
|
|
@@ -93,9 +93,9 @@ declare const Input: import('@stitches/react/types/styled-component').StyledComp
|
|
|
93
93
|
"3xl": "1.875rem";
|
|
94
94
|
};
|
|
95
95
|
fontWeights: {
|
|
96
|
-
normal: "var(--ui-font-weight-normal)";
|
|
97
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
98
|
-
bold: "var(--ui-font-weight-bold)";
|
|
96
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
97
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
98
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
99
99
|
};
|
|
100
100
|
space: {
|
|
101
101
|
1: "0.25rem";
|
|
@@ -93,9 +93,9 @@ declare const Input: import('@stitches/react/types/styled-component').StyledComp
|
|
|
93
93
|
"3xl": "1.875rem";
|
|
94
94
|
};
|
|
95
95
|
fontWeights: {
|
|
96
|
-
normal: "var(--ui-font-weight-normal)";
|
|
97
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
98
|
-
bold: "var(--ui-font-weight-bold)";
|
|
96
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
97
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
98
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
99
99
|
};
|
|
100
100
|
space: {
|
|
101
101
|
1: "0.25rem";
|
|
@@ -92,9 +92,9 @@ export declare const textCss: import('@stitches/react/types/styled-component').C
|
|
|
92
92
|
"3xl": "1.875rem";
|
|
93
93
|
};
|
|
94
94
|
fontWeights: {
|
|
95
|
-
normal: "var(--ui-font-weight-normal)";
|
|
96
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
97
|
-
bold: "var(--ui-font-weight-bold)";
|
|
95
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
96
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
97
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
98
98
|
};
|
|
99
99
|
space: {
|
|
100
100
|
1: "0.25rem";
|
|
@@ -219,9 +219,9 @@ export declare const textWrapperCss: import('@stitches/react/types/styled-compon
|
|
|
219
219
|
"3xl": "1.875rem";
|
|
220
220
|
};
|
|
221
221
|
fontWeights: {
|
|
222
|
-
normal: "var(--ui-font-weight-normal)";
|
|
223
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
224
|
-
bold: "var(--ui-font-weight-bold)";
|
|
222
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
223
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
224
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
225
225
|
};
|
|
226
226
|
space: {
|
|
227
227
|
1: "0.25rem";
|
|
@@ -103,9 +103,9 @@ export declare const DropdownMenuSeparator: import('@stitches/react/types/styled
|
|
|
103
103
|
"3xl": "1.875rem";
|
|
104
104
|
};
|
|
105
105
|
fontWeights: {
|
|
106
|
-
normal: "var(--ui-font-weight-normal)";
|
|
107
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
108
|
-
bold: "var(--ui-font-weight-bold)";
|
|
106
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
107
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
108
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
109
109
|
};
|
|
110
110
|
space: {
|
|
111
111
|
1: "0.25rem";
|
|
@@ -228,9 +228,9 @@ export declare const DropdownMenuItem: import('@stitches/react/types/styled-comp
|
|
|
228
228
|
"3xl": "1.875rem";
|
|
229
229
|
};
|
|
230
230
|
fontWeights: {
|
|
231
|
-
normal: "var(--ui-font-weight-normal)";
|
|
232
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
233
|
-
bold: "var(--ui-font-weight-bold)";
|
|
231
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
232
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
233
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
234
234
|
};
|
|
235
235
|
space: {
|
|
236
236
|
1: "0.25rem";
|
|
@@ -353,9 +353,9 @@ export declare const DropdownMenuIconItem: import('@stitches/react/types/styled-
|
|
|
353
353
|
"3xl": "1.875rem";
|
|
354
354
|
};
|
|
355
355
|
fontWeights: {
|
|
356
|
-
normal: "var(--ui-font-weight-normal)";
|
|
357
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
358
|
-
bold: "var(--ui-font-weight-bold)";
|
|
356
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
357
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
358
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
359
359
|
};
|
|
360
360
|
space: {
|
|
361
361
|
1: "0.25rem";
|
|
@@ -92,9 +92,9 @@ export declare const MenuOverlayCard: import('@stitches/react/types/styled-compo
|
|
|
92
92
|
"3xl": "1.875rem";
|
|
93
93
|
};
|
|
94
94
|
fontWeights: {
|
|
95
|
-
normal: "var(--ui-font-weight-normal)";
|
|
96
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
97
|
-
bold: "var(--ui-font-weight-bold)";
|
|
95
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
96
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
97
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
98
98
|
};
|
|
99
99
|
space: {
|
|
100
100
|
1: "0.25rem";
|
|
@@ -216,9 +216,9 @@ export declare const MenuOverlayCard: import('@stitches/react/types/styled-compo
|
|
|
216
216
|
"3xl": "1.875rem";
|
|
217
217
|
};
|
|
218
218
|
fontWeights: {
|
|
219
|
-
normal: "var(--ui-font-weight-normal)";
|
|
220
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
221
|
-
bold: "var(--ui-font-weight-bold)";
|
|
219
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
220
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
221
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
222
222
|
};
|
|
223
223
|
space: {
|
|
224
224
|
1: "0.25rem";
|
|
@@ -341,9 +341,9 @@ export declare const menuItemStyles: import('@stitches/react/types/styled-compon
|
|
|
341
341
|
"3xl": "1.875rem";
|
|
342
342
|
};
|
|
343
343
|
fontWeights: {
|
|
344
|
-
normal: "var(--ui-font-weight-normal)";
|
|
345
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
346
|
-
bold: "var(--ui-font-weight-bold)";
|
|
344
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
345
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
346
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
347
347
|
};
|
|
348
348
|
space: {
|
|
349
349
|
1: "0.25rem";
|
|
@@ -94,9 +94,9 @@ declare const Bar: import('@stitches/react/types/styled-component').StyledCompon
|
|
|
94
94
|
"3xl": "1.875rem";
|
|
95
95
|
};
|
|
96
96
|
fontWeights: {
|
|
97
|
-
normal: "var(--ui-font-weight-normal)";
|
|
98
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
99
|
-
bold: "var(--ui-font-weight-bold)";
|
|
97
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
98
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
99
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
100
100
|
};
|
|
101
101
|
space: {
|
|
102
102
|
1: "0.25rem";
|
|
@@ -92,9 +92,9 @@ export declare const OverlayCard: import('@stitches/react/types/styled-component
|
|
|
92
92
|
"3xl": "1.875rem";
|
|
93
93
|
};
|
|
94
94
|
fontWeights: {
|
|
95
|
-
normal: "var(--ui-font-weight-normal)";
|
|
96
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
97
|
-
bold: "var(--ui-font-weight-bold)";
|
|
95
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
96
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
97
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
98
98
|
};
|
|
99
99
|
space: {
|
|
100
100
|
1: "0.25rem";
|
|
@@ -96,9 +96,9 @@ export declare const Spinner: import('react').ForwardRefExoticComponent<Omit<Omi
|
|
|
96
96
|
"3xl": "1.875rem";
|
|
97
97
|
};
|
|
98
98
|
fontWeights: {
|
|
99
|
-
normal: "var(--ui-font-weight-normal)";
|
|
100
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
101
|
-
bold: "var(--ui-font-weight-bold)";
|
|
99
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
100
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
101
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
102
102
|
};
|
|
103
103
|
space: {
|
|
104
104
|
1: "0.25rem";
|
|
@@ -96,9 +96,9 @@ export declare const Stack: import('@stitches/react/types/styled-component').Sty
|
|
|
96
96
|
"3xl": "1.875rem";
|
|
97
97
|
};
|
|
98
98
|
fontWeights: {
|
|
99
|
-
normal: "var(--ui-font-weight-normal)";
|
|
100
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
101
|
-
bold: "var(--ui-font-weight-bold)";
|
|
99
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
100
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
101
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
102
102
|
};
|
|
103
103
|
space: {
|
|
104
104
|
1: "0.25rem";
|
|
@@ -93,9 +93,9 @@ export declare const Toolbar: import('@stitches/react/types/styled-component').S
|
|
|
93
93
|
"3xl": "1.875rem";
|
|
94
94
|
};
|
|
95
95
|
fontWeights: {
|
|
96
|
-
normal: "var(--ui-font-weight-normal)";
|
|
97
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
98
|
-
bold: "var(--ui-font-weight-bold)";
|
|
96
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
97
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
98
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
99
99
|
};
|
|
100
100
|
space: {
|
|
101
101
|
1: "0.25rem";
|
|
@@ -218,9 +218,9 @@ export declare const ToolbarToggleGroup: import('@stitches/react/types/styled-co
|
|
|
218
218
|
"3xl": "1.875rem";
|
|
219
219
|
};
|
|
220
220
|
fontWeights: {
|
|
221
|
-
normal: "var(--ui-font-weight-normal)";
|
|
222
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
223
|
-
bold: "var(--ui-font-weight-bold)";
|
|
221
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
222
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
223
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
224
224
|
};
|
|
225
225
|
space: {
|
|
226
226
|
1: "0.25rem";
|
|
@@ -343,9 +343,9 @@ export declare const ToolbarSeparator: import('@stitches/react/types/styled-comp
|
|
|
343
343
|
"3xl": "1.875rem";
|
|
344
344
|
};
|
|
345
345
|
fontWeights: {
|
|
346
|
-
normal: "var(--ui-font-weight-normal)";
|
|
347
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
348
|
-
bold: "var(--ui-font-weight-bold)";
|
|
346
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
347
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
348
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
349
349
|
};
|
|
350
350
|
space: {
|
|
351
351
|
1: "0.25rem";
|
|
@@ -474,9 +474,9 @@ export declare const ButtonInToolbar: import('react').ForwardRefExoticComponent<
|
|
|
474
474
|
"3xl": "1.875rem";
|
|
475
475
|
};
|
|
476
476
|
fontWeights: {
|
|
477
|
-
normal: "var(--ui-font-weight-normal)";
|
|
478
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
479
|
-
bold: "var(--ui-font-weight-bold)";
|
|
477
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
478
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
479
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
480
480
|
};
|
|
481
481
|
space: {
|
|
482
482
|
1: "0.25rem";
|
|
@@ -91,9 +91,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
91
91
|
"3xl": "1.875rem";
|
|
92
92
|
};
|
|
93
93
|
fontWeights: {
|
|
94
|
-
normal: "var(--ui-font-weight-normal)";
|
|
95
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
96
|
-
bold: "var(--ui-font-weight-bold)";
|
|
94
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
95
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
96
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
97
97
|
};
|
|
98
98
|
space: {
|
|
99
99
|
1: "0.25rem";
|
|
@@ -226,9 +226,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
226
226
|
"3xl": "1.875rem";
|
|
227
227
|
};
|
|
228
228
|
fontWeights: {
|
|
229
|
-
normal: "var(--ui-font-weight-normal)";
|
|
230
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
231
|
-
bold: "var(--ui-font-weight-bold)";
|
|
229
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
230
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
231
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
232
232
|
};
|
|
233
233
|
space: {
|
|
234
234
|
1: "0.25rem";
|
|
@@ -348,9 +348,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
348
348
|
"3xl": "1.875rem";
|
|
349
349
|
};
|
|
350
350
|
fontWeights: {
|
|
351
|
-
normal: "var(--ui-font-weight-normal)";
|
|
352
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
353
|
-
bold: "var(--ui-font-weight-bold)";
|
|
351
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
352
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
353
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
354
354
|
};
|
|
355
355
|
space: {
|
|
356
356
|
1: "0.25rem";
|
|
@@ -484,9 +484,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
484
484
|
"3xl": "1.875rem";
|
|
485
485
|
};
|
|
486
486
|
fontWeights: {
|
|
487
|
-
normal: "var(--ui-font-weight-normal)";
|
|
488
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
489
|
-
bold: "var(--ui-font-weight-bold)";
|
|
487
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
488
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
489
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
490
490
|
};
|
|
491
491
|
space: {
|
|
492
492
|
1: "0.25rem";
|
|
@@ -614,9 +614,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
614
614
|
"3xl": "1.875rem";
|
|
615
615
|
};
|
|
616
616
|
fontWeights: {
|
|
617
|
-
normal: "var(--ui-font-weight-normal)";
|
|
618
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
619
|
-
bold: "var(--ui-font-weight-bold)";
|
|
617
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
618
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
619
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
620
620
|
};
|
|
621
621
|
space: {
|
|
622
622
|
1: "0.25rem";
|
|
@@ -735,9 +735,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
735
735
|
"3xl": "1.875rem";
|
|
736
736
|
};
|
|
737
737
|
fontWeights: {
|
|
738
|
-
normal: "var(--ui-font-weight-normal)";
|
|
739
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
740
|
-
bold: "var(--ui-font-weight-bold)";
|
|
738
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
739
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
740
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
741
741
|
};
|
|
742
742
|
space: {
|
|
743
743
|
1: "0.25rem";
|
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as h, s as n, c as f } from "./stitches.config-
|
|
2
|
-
import { a as Pe, g as Ae } from "./stitches.config-
|
|
1
|
+
import { k as h, s as n, c as f } from "./stitches.config-gk2-nbbz.js";
|
|
2
|
+
import { a as Pe, g as Ae } from "./stitches.config-gk2-nbbz.js";
|
|
3
3
|
import { jsx as t, jsxs as c, Fragment as K } from "react/jsx-runtime";
|
|
4
4
|
import { forwardRef as u, createContext as U, useMemo as k, useContext as D, isValidElement as _, cloneElement as q, useState as J, useId as w } from "react";
|
|
5
5
|
import { useFloating as Q, autoUpdate as Z, offset as oo, flip as eo, shift as ro, useTransitionStyles as to, useClick as no, useHover as ao, safePolygon as io, useDismiss as so, useRole as lo, useInteractions as co, FloatingPortal as $o } from "@floating-ui/react";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkitektbedriftene/fe-lib",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./oidc": {
|
|
@@ -32,12 +32,6 @@
|
|
|
32
32
|
},
|
|
33
33
|
"./fonts.css": {
|
|
34
34
|
"import": "./dist/fonts.css"
|
|
35
|
-
},
|
|
36
|
-
"./ui/normalize.css": {
|
|
37
|
-
"import": "./dist/normalize.css"
|
|
38
|
-
},
|
|
39
|
-
"./ui/ui.css": {
|
|
40
|
-
"import": "./dist/ui.css"
|
|
41
35
|
}
|
|
42
36
|
},
|
|
43
37
|
"files": [
|
package/dist/normalize.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4}body{margin:0}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}[role=button]{cursor:pointer}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}table{text-indent:0;border-color:inherit;border-collapse:collapse}hr{height:0;color:inherit;border-top-width:1px}
|
package/dist/normalize.css.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
package/dist/ui.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--ui-font-family: system-ui, sans-serif;--ui-font-weight-normal: 400;--ui-font-weight-semibold: 500;--ui-font-weight-bold: 700}
|
package/dist/ui.css.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|