@oub/fusion 0.2.78 → 0.2.80
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/fusion.js +3056 -2771
- package/dist/fusion.umd.cjs +3 -3
- package/dist/lib/components/common/circular-progress-bar/FusionCircularProgressIndicatorLabelCollection.vue.d.ts +56 -0
- package/dist/lib/components/common/circular-progress-bar/circular-progress-indicator/FusionCircularProgressIndicator.vue.d.ts +65 -0
- package/dist/lib/components/common/circular-progress-bar/circular-progress-indicator-label/FusionCircularProgressIndicatorLabel.vue.d.ts +22 -0
- package/dist/lib/components/common/circular-progress-bar/circular-progress-indicator-label/FusionCircularProgressIndicatorLabelChecklist.vue.d.ts +29 -0
- package/dist/{main.d.ts → lib/main.d.ts} +5 -1
- package/dist/style.css +1 -1
- package/dist/types/Global.d.ts +27 -0
- package/dist/types/Themes.d.ts +6 -0
- package/dist/types/components/FusionButton.d.ts +24 -0
- package/dist/types/components/FusionCheckbox.d.ts +8 -0
- package/dist/types/components/FusionCheckboxGroup.d.ts +8 -0
- package/dist/types/components/FusionCircularProgressIndicator.d.ts +8 -0
- package/dist/types/components/FusionKeyValuePair.d.ts +11 -0
- package/dist/types/components/FusionLoadingSpinner.d.ts +8 -0
- package/dist/types/components/FusionProgressBarStep.d.ts +4 -0
- package/dist/types/components/FusionRadio.d.ts +9 -0
- package/dist/types/components/FusionRadioGroup.d.ts +8 -0
- package/dist/types/components/FusionTag.d.ts +11 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/tokens/colour/Background.d.ts +22 -0
- package/dist/types/tokens/colour/Border.d.ts +16 -0
- package/dist/types/tokens/colour/Icon.d.ts +11 -0
- package/dist/types/tokens/colour/Text.d.ts +18 -0
- package/dist/types/tokens/display/Order.d.ts +1 -0
- package/dist/types/tokens/radius/Radius.d.ts +6 -0
- package/dist/types/tokens/spacing/Spacing.d.ts +13 -0
- package/dist/types/tokens/typography/Typography.d.ts +53 -0
- package/dist/types/tokens.d.ts +1517 -0
- package/package.json +1 -1
- /package/dist/{base → lib/base}/classes/BaseTokens.d.ts +0 -0
- /package/dist/{components → lib/components}/common/banner/FusionBanner.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/bars/footer/FusionFooterBar.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/bars/subheading-bar/FusionSubheadingBar.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/bars/toolbar/FusionToolBar.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/card/FusionCard.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/country/CountrySelectDropdown.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/country/CountrySelectList.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/date-picker/FusionDatePicker.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/divider/FusionDivider.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/key-value-pair/FusionKeyValuePair.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/list/FusionListItem.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/loading-spinner/FusionLoadingSpinner.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/menu/FusionContextMenu.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/menu/menu-item/FusionMenuItem.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/modal/FusionModal.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/modal/modal-footer/FusionModalFooter.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/modal/modal-header/FusionModalHeader.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/numeric-input-stepper/FusionNumericInputStepper.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/panel/FusionPanel.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/platform-bar/FusionPlatformBar.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/progress-bar/FusionProgressBar.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/progress-bar/FusionProgressBarStep.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/side-navigation/FusionSideNavigation.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/side-navigation/side-navigation-item/FusionSideNavigationItem.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/tag/FusionTag.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/toast/FusionToastMessage.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/common/widget/FusionWidget.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/button/FusionButton.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/checkbox/FusionCheckbox.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/checkbox/FusionCheckboxGroup.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/icon-button/FusionIconButton.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/input/FusionInput.d.ts +0 -0
- /package/dist/{components → lib/components}/form/input/FusionInput.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/password-input/FusionPasswordInput.d.ts +0 -0
- /package/dist/{components → lib/components}/form/password-input/FusionPasswordInput.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/phone/FusionPhoneInput.d.ts +0 -0
- /package/dist/{components → lib/components}/form/phone/FusionPhoneInput.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/radio/FusionRadio.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/radio/FusionRadioGroup.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/searchable-input/FusionSearchableInput.d.ts +0 -0
- /package/dist/{components → lib/components}/form/searchable-input/FusionSearchableInput.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/select/FusionSelect.d.ts +0 -0
- /package/dist/{components → lib/components}/form/select/FusionSelect.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/form/textarea/FusionTextarea.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/link/text/FusionTextLink.d.ts +0 -0
- /package/dist/{components → lib/components}/link/text/FusionTextLink.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGArrowDown.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGArrowLeft.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGArrowRight.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGCalendar.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGCheckCircle.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGClose.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGDecrement.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGExclamationCircle.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGExclamationTriangle.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGInbox.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGIncrement.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGInformationCircle.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGSearch.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGTick.vue.d.ts +0 -0
- /package/dist/{components → lib/components}/svgs/SVGXMark.vue.d.ts +0 -0
- /package/dist/{constants → lib/constants}/countries.d.ts +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Themes } from './Themes';
|
|
2
|
+
|
|
3
|
+
export interface FusionElementStates {
|
|
4
|
+
focused: boolean;
|
|
5
|
+
hover: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
error: boolean;
|
|
8
|
+
theme: keyof Themes;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface VariantTypes {
|
|
12
|
+
primary?: string;
|
|
13
|
+
secondary?: string;
|
|
14
|
+
danger?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface VariantAccentTypes {
|
|
18
|
+
success?: string;
|
|
19
|
+
info?: string;
|
|
20
|
+
danger?: string;
|
|
21
|
+
warning?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface Sizes {
|
|
25
|
+
small: string;
|
|
26
|
+
regular: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface FusionButtonSize {
|
|
2
|
+
small: string;
|
|
3
|
+
regular: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export interface FusionButtonVariantStyle {
|
|
7
|
+
filled: string;
|
|
8
|
+
outline: string;
|
|
9
|
+
ghost: string;
|
|
10
|
+
plain: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface FusionButtonVariantType {
|
|
14
|
+
primary: string;
|
|
15
|
+
danger: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface FusionButtonStyleProps {
|
|
19
|
+
size: keyof FusionButtonSize;
|
|
20
|
+
variantStyle: keyof FusionButtonVariantStyle;
|
|
21
|
+
variantType: keyof FusionButtonVariantType;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
interaction: { focus: boolean; hover: boolean };
|
|
24
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../main'
|
|
1
|
+
export * from '../lib/main'
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface BackgroundProps {
|
|
2
|
+
disabled: string;
|
|
3
|
+
subtle: string;
|
|
4
|
+
default: string;
|
|
5
|
+
"selected-subtle": string;
|
|
6
|
+
selected: string;
|
|
7
|
+
"primary-interaction": string;
|
|
8
|
+
"primary-interaction-strong": string;
|
|
9
|
+
"primary-interaction-disabled": string;
|
|
10
|
+
"danger-interaction": string;
|
|
11
|
+
"danger-interaction-strong": string;
|
|
12
|
+
"danger-interaction-disabled": string;
|
|
13
|
+
"primary-interaction-subtle": string;
|
|
14
|
+
"primary-interaction-subtle-hover": string;
|
|
15
|
+
"danger-interaction-subtle": string;
|
|
16
|
+
"danger-interaction-subtle-hover": string;
|
|
17
|
+
"subtle-strong": string;
|
|
18
|
+
"danger-accent": string;
|
|
19
|
+
"info-accent": string;
|
|
20
|
+
"success-accent": string;
|
|
21
|
+
"warning-accent": string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface BorderProps {
|
|
2
|
+
"primary-neutral": string;
|
|
3
|
+
"primary-focus": string;
|
|
4
|
+
"ring-primary": string;
|
|
5
|
+
"ring-primary-danger": string;
|
|
6
|
+
"primary-danger": string;
|
|
7
|
+
"primary-disabled": string;
|
|
8
|
+
"ring-primary-interaction": string;
|
|
9
|
+
"primary-interaction": string;
|
|
10
|
+
"secondary-interaction": string;
|
|
11
|
+
"ring-secondary-interaction": string;
|
|
12
|
+
"primary-interaction-disabled": string;
|
|
13
|
+
"danger-interaction-disabled": string;
|
|
14
|
+
"primary-interaction-strong": string;
|
|
15
|
+
"primary-strong": string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface TextProps {
|
|
2
|
+
primary: string;
|
|
3
|
+
secondary: string;
|
|
4
|
+
"primary-placeholder": string;
|
|
5
|
+
"primary-danger": string;
|
|
6
|
+
disabled: string;
|
|
7
|
+
plain: string;
|
|
8
|
+
tertiary: string;
|
|
9
|
+
"primary-interaction": string;
|
|
10
|
+
"primary-interaction-strong": string;
|
|
11
|
+
"primary-interaction-disabled": string;
|
|
12
|
+
"secondary-interaction": string;
|
|
13
|
+
"secondary-interaction-strong": string;
|
|
14
|
+
"secondary-interaction-disabled": string;
|
|
15
|
+
"danger-interaction": string;
|
|
16
|
+
"danger-interaction-strong": string;
|
|
17
|
+
"danger-interaction-disabled": string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type OrderReturnType = -1 | 0 | 1;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export interface TypographyProps {
|
|
2
|
+
fontSize: number;
|
|
3
|
+
textDecoration: string;
|
|
4
|
+
fontFamily: string;
|
|
5
|
+
fontWeight: number;
|
|
6
|
+
fontStyle: string;
|
|
7
|
+
fontStretch: string;
|
|
8
|
+
letterSpacing: number;
|
|
9
|
+
lineHeight: number;
|
|
10
|
+
paragraphIndent: number;
|
|
11
|
+
paragraphSpacing: number;
|
|
12
|
+
textCase: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Body
|
|
16
|
+
|
|
17
|
+
export interface BodyVariants {
|
|
18
|
+
md: string;
|
|
19
|
+
sm: string;
|
|
20
|
+
xs: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface BodyProps {
|
|
24
|
+
"400": TypographyProps;
|
|
25
|
+
"500": TypographyProps;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Headings
|
|
29
|
+
export interface HeadingProps {
|
|
30
|
+
xl: string;
|
|
31
|
+
lg: string;
|
|
32
|
+
md: string;
|
|
33
|
+
sm: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Labels
|
|
37
|
+
|
|
38
|
+
export interface LabelProps {
|
|
39
|
+
lg: string;
|
|
40
|
+
sm: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Links
|
|
44
|
+
|
|
45
|
+
export interface LinkPropsFusion {
|
|
46
|
+
lg: string;
|
|
47
|
+
sm: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface LinkPropsOub {
|
|
51
|
+
md: string;
|
|
52
|
+
sm: string;
|
|
53
|
+
}
|