@helsenorge/designsystem-react 12.4.0 → 12.7.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/CHANGELOG.md +92 -0
- package/Drawer.js +33 -8
- package/Drawer.js.map +1 -1
- package/FormFieldTag.js +48 -0
- package/FormFieldTag.js.map +1 -0
- package/FormGroup.js +19 -6
- package/FormGroup.js.map +1 -1
- package/HelpTriggerIcon.js +13 -2
- package/HelpTriggerIcon.js.map +1 -1
- package/Label.js +3 -0
- package/Label.js.map +1 -1
- package/LazyIcon.js +1 -1
- package/LazyIcon.js.map +1 -1
- package/LinkList.js +81 -47
- package/LinkList.js.map +1 -1
- package/ListEditMode.js +42 -0
- package/ListEditMode.js.map +1 -0
- package/components/Drawer/Drawer.d.ts +6 -1
- package/components/Drawer/resourceHelper.d.ts +3 -0
- package/components/ExpanderList/ExpanderList.d.ts +8 -1
- package/components/ExpanderList/index.js +51 -20
- package/components/ExpanderList/index.js.map +1 -1
- package/components/ExpanderList/styles.module.scss +37 -33
- package/components/FavoriteButton/StarIcon.d.ts +4 -4
- package/components/FavoriteButton/index.js +23 -18
- package/components/FavoriteButton/index.js.map +1 -1
- package/components/FavoriteButton/styles.module.scss +8 -0
- package/components/FavoriteButton/styles.module.scss.d.ts +1 -0
- package/components/FormFieldTag/FormFieldTag.d.ts +15 -0
- package/components/FormFieldTag/FormFieldTag.test.d.ts +1 -0
- package/components/FormFieldTag/index.d.ts +3 -0
- package/components/FormFieldTag/index.js +5 -0
- package/components/FormFieldTag/index.js.map +1 -0
- package/components/FormFieldTag/resourceHelper.d.ts +3 -0
- package/components/FormFieldTag/styles.module.scss +23 -0
- package/components/FormFieldTag/styles.module.scss.d.ts +10 -0
- package/components/FormGroup/FormGroup.d.ts +4 -0
- package/components/FormGroup/styles.module.scss +3 -0
- package/components/HelpTriggerIcon/HelpTriggerIcon.d.ts +2 -0
- package/components/HelpTriggerIcon/styles.module.scss +1 -1
- package/components/Icons/AdditionalIconInformation.d.ts +4 -0
- package/components/Icons/AdditionalIconInformation.js +2 -1
- package/components/Icons/AdditionalIconInformation.js.map +1 -1
- package/components/Icons/Feedback.d.ts +4 -0
- package/components/Icons/Feedback.js +25 -0
- package/components/Icons/Feedback.js.map +1 -0
- package/components/Icons/IconNames.d.ts +1 -1
- package/components/Icons/IconNames.js +1 -0
- package/components/Icons/IconNames.js.map +1 -1
- package/components/Label/Label.d.ts +2 -0
- package/components/LinkList/LinkList.d.ts +8 -1
- package/components/LinkList/index.js +2 -0
- package/components/LinkList/index.js.map +1 -1
- package/components/LinkList/styles.module.scss +30 -22
- package/components/List/stories.module.scss +7 -0
- package/components/List/stories.module.scss.d.ts +9 -0
- package/components/ListEditMode/ListEditMode.d.ts +29 -0
- package/components/ListEditMode/index.d.ts +3 -0
- package/components/ListEditMode/index.js +9 -0
- package/components/ListEditMode/index.js.map +1 -0
- package/components/ListEditMode/styles.module.scss +79 -0
- package/components/ListEditMode/styles.module.scss.d.ts +18 -0
- package/components/Panel/styles.module.scss +5 -2
- package/components/PopMenu/index.js +1 -1
- package/components/PopMenu/index.js.map +1 -1
- package/components/PopMenu/styles.module.scss +4 -0
- package/components/PopMenu/styles.module.scss.d.ts +1 -0
- package/components/RadioButton/styles.module.scss +22 -4
- package/components/StickyNote/Close.d.ts +11 -0
- package/components/StickyNote/Triangle.d.ts +5 -1
- package/components/StickyNote/index.js +100 -49
- package/components/StickyNote/index.js.map +1 -1
- package/components/StickyNote/styles.module.scss +106 -34
- package/components/StickyNote/styles.module.scss.d.ts +6 -1
- package/components/Tabs/Tabs.d.ts +6 -3
- package/components/Tabs/index.js +38 -4
- package/components/Tabs/index.js.map +1 -1
- package/components/Tabs/resourceHelper.d.ts +3 -0
- package/constants.d.ts +1 -0
- package/constants.js +1 -0
- package/constants.js.map +1 -1
- package/designsystem-react.css +136 -98
- package/package.json +1 -1
- package/resources/HN.Designsystem.Drawer.en-GB.json.d.ts +6 -0
- package/resources/HN.Designsystem.Drawer.nb-NO.json.d.ts +6 -0
- package/resources/HN.Designsystem.FormFieldTag.nb-NO.json.d.ts +8 -0
- package/resources/HN.Designsystem.Tabs.en-GB.json.d.ts +7 -0
- package/resources/HN.Designsystem.Tabs.nb-NO.json.d.ts +7 -0
- package/scss/supernova/styles/colors.css +136 -98
- package/scss/supernova/styles/typography.css +2 -2
- package/components/Tabs/TabsDocs.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/Tabs/Tabs.tsx"],"sourcesContent":["import React, { useState, useRef } from 'react';\n\nimport classNames from 'classnames';\n\nimport Tab from './Tab';\nimport TabList from './TabList';\nimport TabPanel from './TabPanel';\nimport designsystemlayout from '../../scss/layout.module.scss';\nimport { PaletteNames } from '../../theme/palette';\n\nimport styles from './styles.module.scss';\n\nexport type { TabProps } from './Tab';\nexport type TabsColors = Extract<PaletteNames, 'blueberry' | 'neutral' | 'white'>;\nexport type TabsOnColor = 'onblueberry' | 'onneutral' | 'onwhite';\n\nexport interface TabsProps {\n children?: React.ReactNode;\n /** Controlled state for Tabs component */\n activeTab?: number;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the color of the tabs. Default: white */\n color?: TabsColors;\n /** Sets wether the component should use the container-breakout class. Default: true */\n containerBreakout?: boolean;\n /** Sets the background color of the tabs. Can only be used when the color is set to white. Default: onwhite */\n onColor?: TabsOnColor;\n /** Whether the tab list should be sticky */\n sticky?: boolean;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** Sets aria label on the \"scroll to the right\" button in TabList */\n ariaLabelRightButton?: string;\n /** Sets aria label on the \"scroll to the left\" button in TabList */\n ariaLabelLeftButton?: string;\n /** Overrides the default z-index of the tabs header */\n zIndex?: number;\n}\n\
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Tabs/resourceHelper.ts","../../../src/components/Tabs/Tabs.tsx"],"sourcesContent":["import { LanguageLocales } from '../../constants';\nimport enGB from '../../resources/HN.Designsystem.Tabs.en-GB.json';\nimport nbNO from '../../resources/HN.Designsystem.Tabs.nb-NO.json';\nimport { HNDesignsystemTabs } from '../../resources/Resources';\n\nexport const getResources = (language: LanguageLocales): HNDesignsystemTabs => {\n switch (language) {\n case LanguageLocales.ENGLISH:\n return enGB;\n case LanguageLocales.NORWEGIAN:\n default:\n return nbNO;\n }\n};\n","import React, { useState, useRef } from 'react';\n\nimport classNames from 'classnames';\n\nimport { getResources } from './resourceHelper';\nimport Tab from './Tab';\nimport TabList from './TabList';\nimport TabPanel from './TabPanel';\nimport { LanguageLocales } from '../../constants';\nimport { HNDesignsystemTabs } from '../../resources/Resources';\nimport designsystemlayout from '../../scss/layout.module.scss';\nimport { PaletteNames } from '../../theme/palette';\nimport { useLanguage } from '../../utils/language';\n\nimport styles from './styles.module.scss';\n\nexport type { TabProps } from './Tab';\nexport type TabsColors = Extract<PaletteNames, 'blueberry' | 'neutral' | 'white'>;\nexport type TabsOnColor = 'onblueberry' | 'onneutral' | 'onwhite';\n\nexport interface TabsProps {\n children?: React.ReactNode;\n /** Controlled state for Tabs component */\n activeTab?: number;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the color of the tabs. Default: white */\n color?: TabsColors;\n /** Sets wether the component should use the container-breakout class. Default: true */\n containerBreakout?: boolean;\n /** Sets the background color of the tabs. Can only be used when the color is set to white. Default: onwhite */\n onColor?: TabsOnColor;\n /** Whether the tab list should be sticky */\n sticky?: boolean;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** @deprecated Sets aria label on the \"scroll to the right\" button in TabList */\n ariaLabelRightButton?: string;\n /** @deprecated Sets aria label on the \"scroll to the left\" button in TabList */\n ariaLabelLeftButton?: string;\n /** Resources for component */\n resources?: Partial<HNDesignsystemTabs>;\n /** Overrides the default z-index of the tabs header */\n zIndex?: number;\n}\n\nexport const TabsRoot: React.FC<TabsProps> = ({\n activeTab,\n children,\n className,\n color = 'white',\n containerBreakout = true,\n onColor = 'onwhite',\n sticky = true,\n testId,\n ariaLabelRightButton,\n ariaLabelLeftButton,\n resources,\n zIndex,\n}) => {\n const isControlled = activeTab !== undefined;\n const [uncontrolledValue, setUncontrolledValue] = useState(0);\n const tabsRef = useRef<HTMLDivElement>(null);\n const tabPanelRef = useRef<HTMLDivElement>(null);\n const tabListRef = useRef<HTMLDivElement>(null);\n const { language } = useLanguage<LanguageLocales>(LanguageLocales.NORWEGIAN);\n const defaultResources = getResources(language);\n\n const mergedResources: HNDesignsystemTabs = {\n ...defaultResources,\n ...resources,\n ariaLabelRightButton: ariaLabelRightButton || resources?.ariaLabelRightButton || defaultResources.ariaLabelRightButton,\n ariaLabelLeftButton: ariaLabelLeftButton || resources?.ariaLabelLeftButton || defaultResources.ariaLabelLeftButton,\n };\n\n let onColorUsed: TabsOnColor = 'onwhite';\n if (color === 'white') {\n onColorUsed = onColor;\n }\n\n const onValueChange = (newValue: number): void => {\n if (!isControlled) {\n setUncontrolledValue(newValue);\n }\n };\n\n const activeTabIndex = isControlled ? activeTab : uncontrolledValue;\n\n return (\n <div className={classNames(className, containerBreakout && designsystemlayout['container-breakout'])} data-testid={testId}>\n <div\n ref={tabListRef}\n className={classNames(styles['tab-list-wrapper'], {\n [styles['tab-list-wrapper--sticky']]: sticky,\n })}\n style={{\n zIndex: zIndex,\n }}\n >\n <TabList\n onTabListClick={(index: number) => onValueChange(index)}\n selectedTab={activeTabIndex}\n color={color}\n onColor={onColorUsed}\n ariaLabelLeftButton={mergedResources.ariaLabelLeftButton}\n ariaLabelRightButton={mergedResources.ariaLabelRightButton}\n >\n {children}\n </TabList>\n <div className={classNames(styles['panel-wrapper'], styles[`panel-wrapper--${color}`])}></div>\n </div>\n <div ref={tabsRef} style={{ marginTop: '-50px' }}>\n <TabPanel ref={tabPanelRef} color={color} isFirst={activeTabIndex == 0}>\n {React.Children.toArray(children)[activeTabIndex]}\n </TabPanel>\n </div>\n </div>\n );\n};\n\ntype TabsComponent = typeof TabsRoot & {\n Tab: typeof Tab;\n};\nconst Tabs = TabsRoot as TabsComponent;\nTabsRoot.displayName = 'Tabs';\nTabs.displayName = 'Tabs';\nTabs.Tab = Tab;\nTabs.Tab.displayName = 'Tabs.Tab';\n\nexport default Tabs;\n"],"names":["ariaLabelRightButton","ariaLabelLeftButton","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAKO,MAAM,eAAe,CAAC,aAAkD;AAC7E,UAAQ,UAAA;AAAA,IACN,KAAK,gBAAgB;AACnB,aAAO;AAAA,IACT,KAAK,gBAAgB;AAAA,IACrB;AACE,aAAO;AAAA,EAAA;AAEb;ACiCO,MAAM,WAAgC,CAAC;AAAA,EAC5C;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,EACR,oBAAoB;AAAA,EACpB,UAAU;AAAA,EACV,SAAS;AAAA,EACT;AAAA,EACA,sBAAAA;AAAA,EACA,qBAAAC;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,eAAe,cAAc;AACnC,QAAM,CAAC,mBAAmB,oBAAoB,IAAI,SAAS,CAAC;AAC5D,QAAM,UAAU,OAAuB,IAAI;AAC3C,QAAM,cAAc,OAAuB,IAAI;AAC/C,QAAM,aAAa,OAAuB,IAAI;AAC9C,QAAM,EAAE,SAAA,IAAa,YAA6B,gBAAgB,SAAS;AAC3E,QAAM,mBAAmB,aAAa,QAAQ;AAE9C,QAAM,kBAAsC;AAAA,IAC1C,GAAG;AAAA,IACH,GAAG;AAAA,IACH,sBAAsBD,0BAAwB,uCAAW,yBAAwB,iBAAiB;AAAA,IAClG,qBAAqBC,yBAAuB,uCAAW,wBAAuB,iBAAiB;AAAA,EAAA;AAGjG,MAAI,cAA2B;AAC/B,MAAI,UAAU,SAAS;AACrB,kBAAc;AAAA,EAChB;AAEA,QAAM,gBAAgB,CAAC,aAA2B;AAChD,QAAI,CAAC,cAAc;AACjB,2BAAqB,QAAQ;AAAA,IAC/B;AAAA,EACF;AAEA,QAAM,iBAAiB,eAAe,YAAY;AAElD,SACE,qBAAC,OAAA,EAAI,WAAW,WAAW,WAAW,qBAAqB,mBAAmB,oBAAoB,CAAC,GAAG,eAAa,QACjH,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAK;AAAA,QACL,WAAW,WAAW,OAAO,kBAAkB,GAAG;AAAA,UAChD,CAAC,OAAO,0BAA0B,CAAC,GAAG;AAAA,QAAA,CACvC;AAAA,QACD,OAAO;AAAA,UACL;AAAA,QAAA;AAAA,QAGF,UAAA;AAAA,UAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,gBAAgB,CAAC,UAAkB,cAAc,KAAK;AAAA,cACtD,aAAa;AAAA,cACb;AAAA,cACA,SAAS;AAAA,cACT,qBAAqB,gBAAgB;AAAA,cACrC,sBAAsB,gBAAgB;AAAA,cAErC;AAAA,YAAA;AAAA,UAAA;AAAA,UAEH,oBAAC,OAAA,EAAI,WAAW,WAAW,OAAO,eAAe,GAAG,OAAO,kBAAkB,KAAK,EAAE,CAAC,EAAA,CAAG;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAE1F,oBAAC,OAAA,EAAI,KAAK,SAAS,OAAO,EAAE,WAAW,QAAA,GACrC,UAAA,oBAAC,UAAA,EAAS,KAAK,aAAa,OAAc,SAAS,kBAAkB,GAClE,UAAAC,eAAM,SAAS,QAAQ,QAAQ,EAAE,cAAc,EAAA,CAClD,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;AAKA,MAAM,OAAO;AACb,SAAS,cAAc;AACvB,KAAK,cAAc;AACnB,KAAK,MAAM;AACX,KAAK,IAAI,cAAc;"}
|
package/constants.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export declare enum AnalyticsId {
|
|
|
70
70
|
ExpanderListExpander = "expander-list-expander",
|
|
71
71
|
EyebrowHeader = "eyebrow-header",
|
|
72
72
|
FavoriteButton = "favorite-button",
|
|
73
|
+
FormFieldTag = "form-field-tag",
|
|
73
74
|
FormGroup = "form-group",
|
|
74
75
|
FormLayout = "form-layout",
|
|
75
76
|
HelpBubble = "help-bubble",
|
package/constants.js
CHANGED
|
@@ -48,6 +48,7 @@ var AnalyticsId = /* @__PURE__ */ ((AnalyticsId2) => {
|
|
|
48
48
|
AnalyticsId2["ExpanderListExpander"] = "expander-list-expander";
|
|
49
49
|
AnalyticsId2["EyebrowHeader"] = "eyebrow-header";
|
|
50
50
|
AnalyticsId2["FavoriteButton"] = "favorite-button";
|
|
51
|
+
AnalyticsId2["FormFieldTag"] = "form-field-tag";
|
|
51
52
|
AnalyticsId2["FormGroup"] = "form-group";
|
|
52
53
|
AnalyticsId2["FormLayout"] = "form-layout";
|
|
53
54
|
AnalyticsId2["HelpBubble"] = "help-bubble";
|
package/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../src/constants.ts"],"sourcesContent":["export enum IconSize {\n XXSmall = 24,\n XSmall = 38,\n Small = 48,\n Medium = 64,\n Large = 80,\n XLarge = 130,\n}\n\nexport enum ZIndex {\n OverlayScreen = 1300000,\n PopOver = 11000,\n LightBoxButtons = 1000,\n}\n\nexport const AVERAGE_CHARACTER_WIDTH_PX = 12;\n\nexport interface HTMLButtonProps {\n autoFocus?: boolean;\n disabled?: boolean;\n form?: string;\n formAction?: string;\n formEncType?: string;\n formMethod?: string;\n formNoValidate?: boolean;\n formTarget?: string;\n name?: string;\n type?: 'submit' | 'reset' | 'button' | string;\n value?: string | string[] | number;\n id?: string;\n}\n\nexport type AnchorTarget = '_self' | '_blank' | '_parent' | '_top';\n\nexport interface HTMLAnchorProps {\n download?: string;\n href?: string;\n hrefLang?: string;\n media?: string;\n ping?: string;\n rel?: AnchorTarget;\n target?: string;\n referrerPolicy?:\n | ''\n | 'same-origin'\n | 'no-referrer'\n | 'no-referrer-when-downgrade'\n | 'origin'\n | 'origin-when-cross-origin'\n | 'strict-origin'\n | 'strict-origin-when-cross-origin'\n | 'unsafe-url';\n}\n\nexport type ButtonVariant = 'secondary' | 'tertiary' | string | undefined | null;\n\nexport enum FormOnColor {\n onwhite = 'onwhite',\n ongrey = 'ongrey',\n onblueberry = 'onblueberry',\n ondark = 'ondark',\n oninvalid = 'oninvalid',\n}\n\nexport enum FormSize {\n medium = 'medium',\n large = 'large',\n}\n\nexport enum AnalyticsId {\n AnchorLink = 'anchor-link',\n ArticleTeaser = 'article-teaser',\n Avatar = 'avatar',\n Badge = 'badge',\n Button = 'button',\n Checkbox = 'checkbox',\n Chip = 'chip',\n Close = 'close',\n DictionaryTrigger = 'dictionary-trigger',\n Drawer = 'Drawer',\n Dropdown = 'dropdown',\n Duolist = 'duolist',\n EmptyState = 'empty-state',\n Expander = 'expander',\n ExpanderHierarchy = 'expander-hierarchy',\n ExpanderHierarchyExpander = 'expander-hierarchy-expander',\n ExpanderList = 'expander-list',\n ExpanderListExpander = 'expander-list-expander',\n EyebrowHeader = 'eyebrow-header',\n FavoriteButton = 'favorite-button',\n FormGroup = 'form-group',\n FormLayout = 'form-layout',\n HelpBubble = 'help-bubble',\n HelpDrawer = 'help-drawer',\n HelpExpanderInline = 'help-expander-inline',\n HelpExpanderStandalone = 'help-expander-standalone',\n HelpTooltip = 'help-tooltip',\n HelpTriggerIcon = 'help-trigger-icon',\n HelpTriggerInline = 'help-trigger-inline',\n HelpTriggerStandalone = 'help-trigger-standalone',\n HighlightPanel = 'highlight-panel',\n Icon = 'icon',\n Illustration = 'Illustration',\n InfoTeaser = 'info-teaser',\n Input = 'input',\n Label = 'label',\n Link = 'link',\n LinkList = 'link-list',\n List = 'list',\n Loader = 'loader',\n Logo = 'logo',\n Modal = 'modal',\n NotificationPanel = 'notification-panel',\n PanelOld = 'panel',\n PanelList = 'panel-list',\n PopMenu = 'pop-menu',\n PopOver = 'pop-over',\n Portal = 'portal',\n PromoPanel = 'promo-panel',\n RadioButton = 'radio-button',\n Select = 'select',\n SharingStatus = 'sharing-status',\n Slider = 'slider',\n Spacer = 'spacer',\n StatusDot = 'status-dot',\n Step = 'step',\n StepButtons = 'step-buttons',\n Stepper = 'stepper',\n Sublabel = 'sublabel',\n Table = 'table',\n Tag = 'tag',\n TagList = 'tag-list',\n Textarea = 'textarea',\n Tile = 'tile',\n Title = 'title',\n Toggle = 'toggle',\n Validation = 'validation',\n}\n\nexport enum KeyboardEventKey {\n Enter = 'Enter',\n Escape = 'Escape',\n ArrowDown = 'ArrowDown',\n ArrowUp = 'ArrowUp',\n ArrowRight = 'ArrowRight',\n ArrowLeft = 'ArrowLeft',\n Home = 'Home',\n End = 'End',\n Space = ' ',\n Tab = 'Tab',\n}\n\nexport enum LanguageLocales {\n NORWEGIAN = 'nb-NO',\n NORWEGIAN_NYNORSK = 'nn-NO',\n ENGLISH = 'en-GB',\n SAMI_NORTHERN = 'se-NO',\n}\n"],"names":["IconSize","ZIndex","FormOnColor","FormSize","AnalyticsId","KeyboardEventKey","LanguageLocales"],"mappings":"AAAO,IAAK,6BAAAA,cAAL;AACLA,YAAAA,UAAA,aAAU,EAAA,IAAV;AACAA,YAAAA,UAAA,YAAS,EAAA,IAAT;AACAA,YAAAA,UAAA,WAAQ,EAAA,IAAR;AACAA,YAAAA,UAAA,YAAS,EAAA,IAAT;AACAA,YAAAA,UAAA,WAAQ,EAAA,IAAR;AACAA,YAAAA,UAAA,YAAS,GAAA,IAAT;AANU,SAAAA;AAAA,GAAA,YAAA,CAAA,CAAA;AASL,IAAK,2BAAAC,YAAL;AACLA,UAAAA,QAAA,mBAAgB,IAAA,IAAhB;AACAA,UAAAA,QAAA,aAAU,IAAA,IAAV;AACAA,UAAAA,QAAA,qBAAkB,GAAA,IAAlB;AAHU,SAAAA;AAAA,GAAA,UAAA,CAAA,CAAA;AAML,MAAM,6BAA6B;AAyCnC,IAAK,gCAAAC,iBAAL;AACLA,eAAA,SAAA,IAAU;AACVA,eAAA,QAAA,IAAS;AACTA,eAAA,aAAA,IAAc;AACdA,eAAA,QAAA,IAAS;AACTA,eAAA,WAAA,IAAY;AALF,SAAAA;AAAA,GAAA,eAAA,CAAA,CAAA;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oB;AACpBA,eAAA,UAAA,IAAW;AACXA,eAAA,WAAA,IAAY;AACZA,eAAA,SAAA,IAAU;AACVA,eAAA,SAAA,IAAU;AACVA,eAAA,QAAA,IAAS;AACTA,eAAA,YAAA,IAAa;AACbA,eAAA,aAAA,IAAc;AACdA,eAAA,QAAA,IAAS;AACTA,eAAA,eAAA,IAAgB;AAChBA,eAAA,QAAA,IAAS;AACTA,eAAA,QAAA,IAAS;AACTA,eAAA,WAAA,IAAY;AACZA,eAAA,MAAA,IAAO;AACPA,eAAA,aAAA,IAAc;AACdA,eAAA,SAAA,IAAU;AACVA,eAAA,UAAA,IAAW;AACXA,eAAA,OAAA,IAAQ;AACRA,eAAA,KAAA,IAAM;AACNA,eAAA,SAAA,IAAU;AACVA,eAAA,UAAA,IAAW;AACXA,eAAA,MAAA,IAAO;AACPA,eAAA,OAAA,IAAQ;AACRA,eAAA,QAAA,IAAS;AACTA,eAAA,YAAA,IAAa;
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../src/constants.ts"],"sourcesContent":["export enum IconSize {\n XXSmall = 24,\n XSmall = 38,\n Small = 48,\n Medium = 64,\n Large = 80,\n XLarge = 130,\n}\n\nexport enum ZIndex {\n OverlayScreen = 1300000,\n PopOver = 11000,\n LightBoxButtons = 1000,\n}\n\nexport const AVERAGE_CHARACTER_WIDTH_PX = 12;\n\nexport interface HTMLButtonProps {\n autoFocus?: boolean;\n disabled?: boolean;\n form?: string;\n formAction?: string;\n formEncType?: string;\n formMethod?: string;\n formNoValidate?: boolean;\n formTarget?: string;\n name?: string;\n type?: 'submit' | 'reset' | 'button' | string;\n value?: string | string[] | number;\n id?: string;\n}\n\nexport type AnchorTarget = '_self' | '_blank' | '_parent' | '_top';\n\nexport interface HTMLAnchorProps {\n download?: string;\n href?: string;\n hrefLang?: string;\n media?: string;\n ping?: string;\n rel?: AnchorTarget;\n target?: string;\n referrerPolicy?:\n | ''\n | 'same-origin'\n | 'no-referrer'\n | 'no-referrer-when-downgrade'\n | 'origin'\n | 'origin-when-cross-origin'\n | 'strict-origin'\n | 'strict-origin-when-cross-origin'\n | 'unsafe-url';\n}\n\nexport type ButtonVariant = 'secondary' | 'tertiary' | string | undefined | null;\n\nexport enum FormOnColor {\n onwhite = 'onwhite',\n ongrey = 'ongrey',\n onblueberry = 'onblueberry',\n ondark = 'ondark',\n oninvalid = 'oninvalid',\n}\n\nexport enum FormSize {\n medium = 'medium',\n large = 'large',\n}\n\nexport enum AnalyticsId {\n AnchorLink = 'anchor-link',\n ArticleTeaser = 'article-teaser',\n Avatar = 'avatar',\n Badge = 'badge',\n Button = 'button',\n Checkbox = 'checkbox',\n Chip = 'chip',\n Close = 'close',\n DictionaryTrigger = 'dictionary-trigger',\n Drawer = 'Drawer',\n Dropdown = 'dropdown',\n Duolist = 'duolist',\n EmptyState = 'empty-state',\n Expander = 'expander',\n ExpanderHierarchy = 'expander-hierarchy',\n ExpanderHierarchyExpander = 'expander-hierarchy-expander',\n ExpanderList = 'expander-list',\n ExpanderListExpander = 'expander-list-expander',\n EyebrowHeader = 'eyebrow-header',\n FavoriteButton = 'favorite-button',\n FormFieldTag = 'form-field-tag',\n FormGroup = 'form-group',\n FormLayout = 'form-layout',\n HelpBubble = 'help-bubble',\n HelpDrawer = 'help-drawer',\n HelpExpanderInline = 'help-expander-inline',\n HelpExpanderStandalone = 'help-expander-standalone',\n HelpTooltip = 'help-tooltip',\n HelpTriggerIcon = 'help-trigger-icon',\n HelpTriggerInline = 'help-trigger-inline',\n HelpTriggerStandalone = 'help-trigger-standalone',\n HighlightPanel = 'highlight-panel',\n Icon = 'icon',\n Illustration = 'Illustration',\n InfoTeaser = 'info-teaser',\n Input = 'input',\n Label = 'label',\n Link = 'link',\n LinkList = 'link-list',\n List = 'list',\n Loader = 'loader',\n Logo = 'logo',\n Modal = 'modal',\n NotificationPanel = 'notification-panel',\n PanelOld = 'panel',\n PanelList = 'panel-list',\n PopMenu = 'pop-menu',\n PopOver = 'pop-over',\n Portal = 'portal',\n PromoPanel = 'promo-panel',\n RadioButton = 'radio-button',\n Select = 'select',\n SharingStatus = 'sharing-status',\n Slider = 'slider',\n Spacer = 'spacer',\n StatusDot = 'status-dot',\n Step = 'step',\n StepButtons = 'step-buttons',\n Stepper = 'stepper',\n Sublabel = 'sublabel',\n Table = 'table',\n Tag = 'tag',\n TagList = 'tag-list',\n Textarea = 'textarea',\n Tile = 'tile',\n Title = 'title',\n Toggle = 'toggle',\n Validation = 'validation',\n}\n\nexport enum KeyboardEventKey {\n Enter = 'Enter',\n Escape = 'Escape',\n ArrowDown = 'ArrowDown',\n ArrowUp = 'ArrowUp',\n ArrowRight = 'ArrowRight',\n ArrowLeft = 'ArrowLeft',\n Home = 'Home',\n End = 'End',\n Space = ' ',\n Tab = 'Tab',\n}\n\nexport enum LanguageLocales {\n NORWEGIAN = 'nb-NO',\n NORWEGIAN_NYNORSK = 'nn-NO',\n ENGLISH = 'en-GB',\n SAMI_NORTHERN = 'se-NO',\n}\n"],"names":["IconSize","ZIndex","FormOnColor","FormSize","AnalyticsId","KeyboardEventKey","LanguageLocales"],"mappings":"AAAO,IAAK,6BAAAA,cAAL;AACLA,YAAAA,UAAA,aAAU,EAAA,IAAV;AACAA,YAAAA,UAAA,YAAS,EAAA,IAAT;AACAA,YAAAA,UAAA,WAAQ,EAAA,IAAR;AACAA,YAAAA,UAAA,YAAS,EAAA,IAAT;AACAA,YAAAA,UAAA,WAAQ,EAAA,IAAR;AACAA,YAAAA,UAAA,YAAS,GAAA,IAAT;AANU,SAAAA;AAAA,GAAA,YAAA,CAAA,CAAA;AASL,IAAK,2BAAAC,YAAL;AACLA,UAAAA,QAAA,mBAAgB,IAAA,IAAhB;AACAA,UAAAA,QAAA,aAAU,IAAA,IAAV;AACAA,UAAAA,QAAA,qBAAkB,GAAA,IAAlB;AAHU,SAAAA;AAAA,GAAA,UAAA,CAAA,CAAA;AAML,MAAM,6BAA6B;AAyCnC,IAAK,gCAAAC,iBAAL;AACLA,eAAA,SAAA,IAA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ACVA,mBAAA,eAAA,IAAgB;AAJN,SAAAA;AAAA,GAAA,mBAAA,CAAA,CAAA;"}
|
package/designsystem-react.css
CHANGED
|
@@ -8,93 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
:root {
|
|
11
|
-
--core-color-black: #000000;
|
|
12
|
-
--core-color-white: #ffffff;
|
|
13
|
-
--core-color-blueberry-50: #e4f7f9;
|
|
14
|
-
--core-color-neutral-500: #989693;
|
|
15
|
-
--core-color-neutral-700: #62625f;
|
|
16
|
-
--color-action-text-ondark: #ffffff;
|
|
17
|
-
|
|
18
|
-
/* Hoverfarge for bakgrunn på interaktive elementer - onLight */
|
|
19
|
-
--color-action-background-transparent-onlight-hover: #126f8721;
|
|
20
|
-
|
|
21
|
-
/* Hoverfarge for bakgrunn på interaktive elementer - onLight selected */
|
|
22
|
-
--color-action-background-transparent-onlight-hoverselected: #126f872b;
|
|
23
|
-
--color-notification-background-info: #e4f7f9;
|
|
24
|
-
--color-notification-background-error: #fff2ea;
|
|
25
|
-
--color-destructive-graphics-normal: #c83521;
|
|
26
|
-
--color-base-text-onlight: #000000;
|
|
27
|
-
--color-action-background-ondark: #ffffff;
|
|
28
|
-
--color-action-border-ondark: #ffffff;
|
|
29
|
-
--color-action-border-ondark-focus: #ffffff;
|
|
30
|
-
--color-action-graphics-ondark: #ffffff;
|
|
31
|
-
--color-base-text-ondark: #ffffff;
|
|
32
|
-
--color-base-background-neutral: #f5f3f3;
|
|
33
|
-
--color-base-background-white: #ffffff;
|
|
34
|
-
--color-base-graphics-ondark: #ffffff;
|
|
35
|
-
--color-disabled-text-ondark: #ffffff;
|
|
36
|
-
--color-action-border-onlight: #188097;
|
|
37
|
-
--color-action-border-onlight-hover: #08667c;
|
|
38
|
-
--color-action-border-onlight-focus: #000000;
|
|
39
|
-
--color-action-text-onlight: #126f87;
|
|
40
|
-
--color-action-text-onlight-hover: #08667c;
|
|
41
11
|
--color-action-graphics-onlight: #188097;
|
|
42
12
|
--color-action-graphics-onlight-hover: #126f87;
|
|
43
|
-
--color-action-graphics-ondark-hover: #e4f7f9;
|
|
44
|
-
--color-action-background-ondark-hover: #e4f7f9;
|
|
45
|
-
--color-action-background-ondark-selected: #cae7ed;
|
|
46
|
-
--color-action-background-ondark-hoverselected: #afdae3;
|
|
47
|
-
--color-action-background-onlight: #188097;
|
|
48
|
-
--color-action-background-onlight-hover: #08667c;
|
|
49
|
-
--color-notification-background-warning: #fdf8df;
|
|
50
|
-
--color-notification-background-success: #e6f8ee;
|
|
51
|
-
--color-notification-border-info: #08667c;
|
|
52
|
-
--color-notification-border-error: #a31f0e;
|
|
53
|
-
--color-notification-border-warning: #ab7c00;
|
|
54
|
-
--color-notification-border-success: #078141;
|
|
55
|
-
--color-notification-graphics-info: #08667c;
|
|
56
|
-
--color-notification-graphics-error: #a31f0e;
|
|
57
|
-
--color-notification-graphics-warning: #ab7c00;
|
|
58
|
-
--color-notification-graphics-success: #078141;
|
|
59
|
-
--color-notification-status-warning: #ebc840;
|
|
60
|
-
--color-notification-status-success: #099150;
|
|
61
|
-
--color-destructive-graphics-hover: #b62e1c;
|
|
62
|
-
--color-destructive-text-normal: #b62e1c;
|
|
63
|
-
--color-destructive-text-hover: #a31f0e;
|
|
64
|
-
--color-disabled-background: #d6d4d3;
|
|
65
|
-
--color-disabled-text: #62625f;
|
|
66
|
-
--color-disabled-border: #7d7c79;
|
|
67
|
-
--color-disabled-graphics: #62625f;
|
|
68
|
-
--color-disabled-border-ondark: #d6d4d3;
|
|
69
|
-
--color-disabled-graphics-ondark: #d6d4d3;
|
|
70
|
-
--color-base-background-blueberry: #e4f7f9;
|
|
71
|
-
--color-base-background-cherry: #fff2ea;
|
|
72
|
-
--color-base-background-dark-blueberry: #188097;
|
|
73
|
-
--color-base-background-dark-cherry: #c83521;
|
|
74
|
-
--color-base-graphics-onlight: #000000;
|
|
75
|
-
--color-base-border-ondark: #d6d4d3;
|
|
76
|
-
--color-base-border-onlight: #7d7c79;
|
|
77
|
-
--color-base-border-onlight-emphasized: #62625f;
|
|
78
|
-
--color-help-background-normal: #f4ecfe;
|
|
79
|
-
--color-help-graphics-normal: #5b22a6;
|
|
80
|
-
--color-help-border-normal: #5b22a6;
|
|
81
|
-
--core-color-blueberry-100: #cae7ed;
|
|
82
|
-
--core-color-blueberry-200: #afdae3;
|
|
83
|
-
--core-color-blueberry-300: #7abecc;
|
|
84
|
-
--core-color-blueberry-400: #58aabb;
|
|
85
|
-
--core-color-blueberry-500: #188097;
|
|
86
|
-
--core-color-blueberry-600: #126f87;
|
|
87
|
-
--core-color-blueberry-700: #08667c;
|
|
88
|
-
--core-color-blueberry-800: #06596c;
|
|
89
|
-
--core-color-blueberry-900: #084350;
|
|
90
|
-
--core-color-neutral-50: #f5f3f3;
|
|
91
|
-
--core-color-neutral-100: #eae7e7;
|
|
92
|
-
--core-color-neutral-200: #d6d4d3;
|
|
93
|
-
--core-color-neutral-300: #bdbab9;
|
|
94
|
-
--core-color-neutral-400: #aaa8a6;
|
|
95
|
-
--core-color-neutral-600: #7d7c79;
|
|
96
|
-
--core-color-neutral-800: #474745;
|
|
97
|
-
--core-color-neutral-900: #2b2c2b;
|
|
98
13
|
--core-color-banana-50: #fdf8df;
|
|
99
14
|
--core-color-banana-100: #fcf2bf;
|
|
100
15
|
--core-color-banana-200: #f9ea9f;
|
|
@@ -105,6 +20,16 @@
|
|
|
105
20
|
--core-color-banana-700: #ab7c00;
|
|
106
21
|
--core-color-banana-800: #916500;
|
|
107
22
|
--core-color-banana-900: #764f00;
|
|
23
|
+
--core-color-blueberry-50: #e4f7f9;
|
|
24
|
+
--core-color-blueberry-100: #cae7ed;
|
|
25
|
+
--core-color-blueberry-200: #afdae3;
|
|
26
|
+
--core-color-blueberry-300: #7abecc;
|
|
27
|
+
--core-color-blueberry-400: #58aabb;
|
|
28
|
+
--core-color-blueberry-500: #188097;
|
|
29
|
+
--core-color-blueberry-600: #126f87;
|
|
30
|
+
--core-color-blueberry-700: #08667c;
|
|
31
|
+
--core-color-blueberry-800: #06596c;
|
|
32
|
+
--core-color-blueberry-900: #084350;
|
|
108
33
|
--core-color-cherry-50: #fff2ea;
|
|
109
34
|
--core-color-cherry-100: #f7e1d2;
|
|
110
35
|
--core-color-cherry-200: #eec0a5;
|
|
@@ -125,6 +50,16 @@
|
|
|
125
50
|
--core-color-kiwi-700: #0ca161;
|
|
126
51
|
--core-color-kiwi-800: #099150;
|
|
127
52
|
--core-color-kiwi-900: #078141;
|
|
53
|
+
--core-color-neutral-50: #f5f3f3;
|
|
54
|
+
--core-color-neutral-100: #eae7e7;
|
|
55
|
+
--core-color-neutral-200: #d6d4d3;
|
|
56
|
+
--core-color-neutral-300: #bdbab9;
|
|
57
|
+
--core-color-neutral-400: #aaa8a6;
|
|
58
|
+
--core-color-neutral-500: #989693;
|
|
59
|
+
--core-color-neutral-600: #7d7c79;
|
|
60
|
+
--core-color-neutral-700: #62625f;
|
|
61
|
+
--core-color-neutral-800: #474745;
|
|
62
|
+
--core-color-neutral-900: #2b2c2b;
|
|
128
63
|
--core-color-plum-50: #f4ecfe;
|
|
129
64
|
--core-color-plum-100: #e5d5fb;
|
|
130
65
|
--core-color-plum-200: #cfb1f6;
|
|
@@ -135,8 +70,84 @@
|
|
|
135
70
|
--core-color-plum-700: #5c27a1;
|
|
136
71
|
--core-color-plum-800: #4c1b8c;
|
|
137
72
|
--core-color-plum-900: #3c1471;
|
|
73
|
+
--core-color-black: #000000;
|
|
74
|
+
--core-color-white: #ffffff;
|
|
75
|
+
--color-action-border-ondark: #ffffff;
|
|
76
|
+
--color-action-text-ondark: #ffffff;
|
|
77
|
+
--color-action-graphics-ondark: #ffffff;
|
|
78
|
+
--color-notification-background-info: #e4f7f9;
|
|
79
|
+
--color-notification-background-error: #fff2ea;
|
|
80
|
+
--color-notification-background-warning: #fdf8df;
|
|
81
|
+
--color-notification-background-success: #e6f8ee;
|
|
82
|
+
--color-notification-border-info: #08667c;
|
|
83
|
+
--color-notification-border-error: #a31f0e;
|
|
84
|
+
--color-notification-border-warning: #ab7c00;
|
|
85
|
+
--color-notification-border-success: #078141;
|
|
86
|
+
--color-notification-graphics-info: #08667c;
|
|
87
|
+
--color-notification-graphics-error: #a31f0e;
|
|
88
|
+
--color-notification-graphics-warning: #ab7c00;
|
|
89
|
+
--color-notification-graphics-success: #078141;
|
|
90
|
+
--color-notification-status-info: #188097;
|
|
91
|
+
--color-notification-status-error: #c83521;
|
|
92
|
+
--color-notification-status-warning: #ebc840;
|
|
93
|
+
--color-notification-status-success: #099150;
|
|
94
|
+
--color-disabled-background: #d6d4d3;
|
|
95
|
+
--color-disabled-text: #62625f;
|
|
96
|
+
--color-disabled-border: #7d7c79;
|
|
138
97
|
--color-destructive-background-emphasized: #f7e1d2;
|
|
139
98
|
--color-destructive-background-normal: #fff2ea;
|
|
99
|
+
--color-destructive-graphics-normal: #c83521;
|
|
100
|
+
--color-destructive-graphics-hover: #b62e1c;
|
|
101
|
+
--color-destructive-text-normal: #b62e1c;
|
|
102
|
+
--color-destructive-text-hover: #a31f0e;
|
|
103
|
+
--color-help-background-normal: #f4ecfe;
|
|
104
|
+
--color-help-graphics-normal: #5c27a1;
|
|
105
|
+
--color-help-border-normal: #5c27a1;
|
|
106
|
+
--color-disabled-graphics: #62625f;
|
|
107
|
+
--color-destructive-border-normal: #c83521;
|
|
108
|
+
--color-action-border-ondark-hover: #e4f7f9;
|
|
109
|
+
--color-action-graphics-ondark-hover: #e4f7f9;
|
|
110
|
+
|
|
111
|
+
/* Hoverfarge for bakgrunn på interaktive elementer - onLight */
|
|
112
|
+
--color-action-background-transparent-onlight-hover: #126f8721;
|
|
113
|
+
|
|
114
|
+
/* Hoverfarge for bakgrunn på interaktive elementer - onLight selected */
|
|
115
|
+
--color-action-background-transparent-onlight-hoverselected: #126f872b;
|
|
116
|
+
--color-action-border-ondark-focus: #ffffff;
|
|
117
|
+
--color-disabled-border-ondark: #d6d4d3;
|
|
118
|
+
--color-disabled-graphics-ondark: #d6d4d3;
|
|
119
|
+
--color-disabled-text-ondark: #ffffff;
|
|
120
|
+
--color-action-text-onlight: #126f87;
|
|
121
|
+
--color-action-text-onlight-hover: #08667c;
|
|
122
|
+
--color-action-border-onlight: #188097;
|
|
123
|
+
--color-action-border-onlight-hover: #08667c;
|
|
124
|
+
--color-action-border-onlight-focus: #000000;
|
|
125
|
+
--color-action-background-ondark: #ffffff;
|
|
126
|
+
--color-action-background-ondark-hover: #e4f7f9;
|
|
127
|
+
--color-action-background-ondark-selected: #cae7ed;
|
|
128
|
+
--color-action-background-ondark-hoverselected: #afdae3;
|
|
129
|
+
--color-action-background-onlight: #188097;
|
|
130
|
+
--color-action-background-onlight-hover: #08667c;
|
|
131
|
+
|
|
132
|
+
/* Hoverfarge for bakgrunn på interaktive elementer - onDark */
|
|
133
|
+
--color-action-background-transparent-ondark-hover: #00000026;
|
|
134
|
+
|
|
135
|
+
/* Hoverfarge for bakgrunn på interaktive elementer - onDark selected */
|
|
136
|
+
--color-action-background-transparent-ondark-hoverselected: #000000bf;
|
|
137
|
+
--color-base-background-blueberry: #e4f7f9;
|
|
138
|
+
--color-base-background-cherry: #fff2ea;
|
|
139
|
+
--color-base-background-neutral: #f5f3f3;
|
|
140
|
+
--color-base-background-white: #ffffff;
|
|
141
|
+
--color-base-background-dark-blueberry: #188097;
|
|
142
|
+
--color-base-background-dark-cherry: #c83521;
|
|
143
|
+
--color-base-background-dark-neutral: #2b2c2b;
|
|
144
|
+
--color-base-text-onlight: #000000;
|
|
145
|
+
--color-base-text-ondark: #ffffff;
|
|
146
|
+
--color-base-border-ondark: #d6d4d3;
|
|
147
|
+
--color-base-border-onlight: #7d7c79;
|
|
148
|
+
--color-base-border-onlight-emphasized: #62625f;
|
|
149
|
+
--color-base-graphics-onlight: #000000;
|
|
150
|
+
--color-base-graphics-ondark: #ffffff;
|
|
140
151
|
--brandcolor-white: #ffffff;
|
|
141
152
|
--brandcolor-black: #000000;
|
|
142
153
|
--brandcolor-neutral-verylight: #f5f3f3;
|
|
@@ -156,17 +167,6 @@
|
|
|
156
167
|
--brandcolor-cherry-medium: #c83521;
|
|
157
168
|
--brandcolor-cherry-mediumdark: #b62e1c;
|
|
158
169
|
--brandcolor-cherry-dark: #a31f0e;
|
|
159
|
-
--color-notification-status-info: #188097;
|
|
160
|
-
--color-notification-status-error: #c83521;
|
|
161
|
-
--color-destructive-border-normal: #c83521;
|
|
162
|
-
--color-action-border-ondark-hover: #e4f7f9;
|
|
163
|
-
|
|
164
|
-
/* Hoverfarge for bakgrunn på interaktive elementer - onDark */
|
|
165
|
-
--color-action-background-transparent-ondark-hover: #00000026;
|
|
166
|
-
|
|
167
|
-
/* Hoverfarge for bakgrunn på interaktive elementer - onDark selected */
|
|
168
|
-
--color-action-background-transparent-ondark-hoverselected: #000000bf;
|
|
169
|
-
--color-base-background-dark-neutral: #2b2c2b;
|
|
170
170
|
|
|
171
171
|
/* Placeholdertext in input- and textarea-controls */
|
|
172
172
|
--color-placeholder-text-onlight: #62625f;
|
|
@@ -177,10 +177,10 @@
|
|
|
177
177
|
|
|
178
178
|
/* In a few cases where coloured text is required to stress the semantics of an information notification text */
|
|
179
179
|
--color-notification-text-info: #08667c;
|
|
180
|
-
--color-notification-text-warning: #916500;
|
|
181
180
|
|
|
182
181
|
/* In a few cases where coloured text is required to stress the semantics of an error notification text */
|
|
183
182
|
--color-notification-text-error: #a31f0e;
|
|
183
|
+
--color-notification-text-warning: #916500;
|
|
184
184
|
--color-notification-text-success: #078141;
|
|
185
185
|
--color-base-border-neutral-emphasized: #bdbab9;
|
|
186
186
|
--color-notification-status-draft: #7d7c79;
|
|
@@ -193,9 +193,47 @@
|
|
|
193
193
|
|
|
194
194
|
/* Background outside of modal and bottomsheet to mask inactive screen-area */
|
|
195
195
|
--color-shadow-pagemask: #2c2b2cb8;
|
|
196
|
-
--color-help-border-subtle-wcag: #
|
|
196
|
+
--color-help-border-subtle-wcag: #9862df;
|
|
197
197
|
--color-help-graphics-dark: #4c1b8c;
|
|
198
198
|
--color-help-border-dark: #4c1b8c;
|
|
199
199
|
--color-help-graphics-verydark: #3c1471;
|
|
200
200
|
--color-help-border-verydark: #3c1471;
|
|
201
|
+
--color-action-background-onlight-active: #06596c;
|
|
202
|
+
--color-action-background-like-transparent-but-opaque-onlight-hover: #e0ecef;
|
|
203
|
+
--color-action-background-like-transparent-but-opaque-onlight-hoverselected: #d7e7eb;
|
|
204
|
+
--color-action-background-stroke-onlight: #126f87;
|
|
205
|
+
--component-stickynote-background-normal-light: #fdf8df;
|
|
206
|
+
--component-stickynote-background-normal-medium: #fcf2bf;
|
|
207
|
+
--component-stickynote-background-normal-dark: #f9ea9f;
|
|
208
|
+
--component-stickynote-border-normal: #916500;
|
|
209
|
+
--component-stickynote-border-error: #d56147;
|
|
210
|
+
--component-stickynote-background-error-dark: #eec0a5;
|
|
211
|
+
--component-stickynote-background-error-medium: #f7e1d2;
|
|
212
|
+
--component-stickynote-background-error-light: #fff2ea;
|
|
213
|
+
--color-base-text-onlight-subdued: #000000;
|
|
214
|
+
--component-stickynote-background-fold-error-dark: #e39376;
|
|
215
|
+
--component-stickynote-background-fold-error-light: #f7e1d2;
|
|
216
|
+
--component-stickynote-background-fold-error-medium: #eec0a5;
|
|
217
|
+
--component-stickynote-background-fold-normal-light: #fcf2bf;
|
|
218
|
+
--component-stickynote-background-fold-normal-medium: #f9ea9f;
|
|
219
|
+
--component-stickynote-background-fold-normal-dark: #ebc840;
|
|
220
|
+
--component-stickynote-background-transparent-onlight-hover: #ebc84021;
|
|
221
|
+
--component-stickynote-background-transparent-onlight-active: #ebc8404d;
|
|
222
|
+
--component-stickynote-background-transparent-error-hover: #d5614721;
|
|
223
|
+
--component-stickynote-background-transparent-error-active: #d5614740;
|
|
224
|
+
--component-listelements-background-neutral-light: #f5f3f3;
|
|
225
|
+
--component-listelements-background-neutral-medium: #eae7e7;
|
|
226
|
+
--component-listelements-background-neutral-dark: #d6d4d3;
|
|
227
|
+
--component-listelements-border-neutral-light: #eae7e7;
|
|
228
|
+
--component-listelements-background-blueberry-light: #e4f7f9;
|
|
229
|
+
--component-listelements-background-blueberry-medium: #cae7ed;
|
|
230
|
+
--component-listelements-border-blueberry-light: #cae7ed;
|
|
231
|
+
--component-listelements-background-blueberry-dark: #afdae3;
|
|
232
|
+
--component-listelements-border-blueberry-normal: #188097;
|
|
233
|
+
--component-listelements-background-cherry-light: #fff2ea;
|
|
234
|
+
--component-listelements-background-cherry-medium: #f7e1d2;
|
|
235
|
+
--component-listelements-border-cherry-light: #f7e1d2;
|
|
236
|
+
--component-listelements-background-cherry-dark: #eec0a5;
|
|
237
|
+
--component-listelements-border-cherry-normal: #d56147;
|
|
238
|
+
--component-listelements-border-neutral-normal: #7d7c79;
|
|
201
239
|
}
|
package/package.json
CHANGED