@thunderid/vue 1.0.3 → 1.0.5
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/cjs/index.cjs +806 -606
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts.map +1 -1
- package/dist/components/auth/sign-in/BaseSignIn.css.d.ts +12 -0
- package/dist/components/auth/sign-in/BaseSignIn.css.d.ts.map +1 -0
- package/dist/components/auth/sign-in/BaseSignIn.d.ts.map +1 -1
- package/dist/components/auth/sign-in/SignIn.d.ts.map +1 -1
- package/dist/components/factories/FieldFactory.d.ts.map +1 -1
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts +1 -1
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts.map +1 -1
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts +1 -1
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts.map +1 -1
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts +1 -1
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts.map +1 -1
- package/dist/components/primitives/Alert/Alert.css.d.ts +1 -1
- package/dist/components/primitives/Alert/Alert.css.d.ts.map +1 -1
- package/dist/components/primitives/Button/Button.css.d.ts +1 -1
- package/dist/components/primitives/Button/Button.css.d.ts.map +1 -1
- package/dist/components/primitives/Card/Card.css.d.ts +1 -1
- package/dist/components/primitives/Card/Card.css.d.ts.map +1 -1
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts +1 -1
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts.map +1 -1
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts +1 -1
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts.map +1 -1
- package/dist/components/primitives/Divider/Divider.css.d.ts +1 -1
- package/dist/components/primitives/Divider/Divider.css.d.ts.map +1 -1
- package/dist/components/primitives/Logo/Logo.css.d.ts +1 -1
- package/dist/components/primitives/Logo/Logo.css.d.ts.map +1 -1
- package/dist/components/primitives/OtpField/OtpField.css.d.ts +1 -1
- package/dist/components/primitives/OtpField/OtpField.css.d.ts.map +1 -1
- package/dist/components/primitives/OtpField/OtpField.d.ts.map +1 -1
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts +1 -1
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts.map +1 -1
- package/dist/components/primitives/Select/Select.css.d.ts +1 -1
- package/dist/components/primitives/Select/Select.css.d.ts.map +1 -1
- package/dist/components/primitives/Spinner/Spinner.css.d.ts +1 -1
- package/dist/components/primitives/Spinner/Spinner.css.d.ts.map +1 -1
- package/dist/components/primitives/TextField/TextField.css.d.ts +1 -1
- package/dist/components/primitives/TextField/TextField.css.d.ts.map +1 -1
- package/dist/components/primitives/Typography/Typography.css.d.ts +1 -1
- package/dist/components/primitives/Typography/Typography.css.d.ts.map +1 -1
- package/dist/composables/useOAuthCallback.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +803 -607
- package/dist/providers/FlowMetaProvider.d.ts.map +1 -1
- package/dist/providers/ThemeProvider.d.ts.map +1 -1
- package/dist/styles/defaults.css.d.ts +2 -2
- package/dist/styles/defaults.css.d.ts.map +1 -1
- package/dist/styles/injectStyles.d.ts.map +1 -1
- package/dist/utils/resolveTranslationsInObject.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowMetaProvider.d.ts","sourceRoot":"","sources":["../../src/providers/FlowMetaProvider.ts"],"names":[],"mappings":"AAWA,OAAO,EAUL,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"FlowMetaProvider.d.ts","sourceRoot":"","sources":["../../src/providers/FlowMetaProvider.ts"],"names":[],"mappings":"AAWA,OAAO,EAUL,KAAK,SAAS,EAKf,MAAM,KAAK,CAAC;AAmBb,QAAA,MAAM,gBAAgB,EAAE,SAkKtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ThemeProvider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ThemeProvider.ts"],"names":[],"mappings":"AAiBA,OAAO,EAYL,KAAK,SAAS,EAKf,MAAM,KAAK,CAAC;AA2Bb,QAAA,MAAM,aAAa,EAAE,SA8JnB,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* automatically — no special cascade tricks required.
|
|
9
9
|
*
|
|
10
10
|
* Design token naming follows the pattern:
|
|
11
|
-
* --
|
|
11
|
+
* --thunderid-{category}-{sub}-{scale?}
|
|
12
12
|
*/
|
|
13
|
-
declare const DEFAULTS_CSS = "\n/* ============================================================\n ThunderID Vue SDK \u2013 CSS variable defaults\n (ThemeProvider overrides these at runtime via inline styles)\n ============================================================ */\n:root {\n /* --- Colors: Primary --- */\n --
|
|
13
|
+
declare const DEFAULTS_CSS = "\n/* ============================================================\n ThunderID Vue SDK \u2013 CSS variable defaults\n (ThemeProvider overrides these at runtime via inline styles)\n ============================================================ */\n:root {\n /* --- Colors: Primary --- */\n --thunderid-color-primary-main: #4b6ef5;\n --thunderid-color-primary-light: #eef1fe;\n --thunderid-color-primary-dark: #3451d1;\n --thunderid-color-primary-contrastText: #ffffff;\n\n /* --- Colors: Secondary --- */\n --thunderid-color-secondary-main: #4b5563;\n --thunderid-color-secondary-light: #f3f4f6;\n --thunderid-color-secondary-contrastText: #ffffff;\n\n /* --- Colors: Background --- */\n --thunderid-color-background-surface: #ffffff;\n --thunderid-color-background-body: #f9fafb;\n --thunderid-color-background-disabled: #f3f4f6;\n --thunderid-color-background-muted: #f1f3f5;\n\n /* --- Colors: Text --- */\n --thunderid-color-text-primary: #111827;\n --thunderid-color-text-secondary: #6b7280;\n\n /* --- Colors: Border --- */\n --thunderid-color-border: #e5e7eb;\n --thunderid-color-border-focus: var(--thunderid-color-primary-main);\n\n /* --- Colors: Action states --- */\n --thunderid-color-action-hover: rgba(0, 0, 0, 0.04);\n --thunderid-color-action-selected: rgba(75, 110, 245, 0.08);\n --thunderid-color-action-focus: rgba(75, 110, 245, 0.12);\n --thunderid-color-action-disabled: rgba(0, 0, 0, 0.26);\n --thunderid-color-action-disabledBackground: rgba(0, 0, 0, 0.08);\n\n /* --- Colors: Semantic --- */\n --thunderid-color-error-main: #ef4444;\n --thunderid-color-error-light: #fef2f2;\n --thunderid-color-error-contrastText: #991b1b;\n --thunderid-color-success-main: #22c55e;\n --thunderid-color-success-light: #f0fdf4;\n --thunderid-color-success-contrastText: #166534;\n --thunderid-color-warning-main: #f59e0b;\n --thunderid-color-warning-light: #fffbeb;\n --thunderid-color-warning-contrastText: #92400e;\n --thunderid-color-info-main: #3b82f6;\n --thunderid-color-info-light: #eff6ff;\n --thunderid-color-info-contrastText: #1e40af;\n\n /* --- Spacing --- */\n --thunderid-spacing-unit: 8px;\n\n /* --- Border Radius --- */\n --thunderid-border-radius-xs: 4px;\n --thunderid-border-radius-small: 6px;\n --thunderid-border-radius-medium: 10px;\n --thunderid-border-radius-large: 14px;\n --thunderid-border-radius-full: 9999px;\n\n /* --- Shadows --- */\n --thunderid-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);\n --thunderid-shadow-small: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);\n --thunderid-shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);\n --thunderid-shadow-large: 0 10px 25px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);\n\n /* --- Transitions --- */\n --thunderid-transition-fast: 120ms ease;\n --thunderid-transition-normal: 180ms ease;\n --thunderid-transition-slow: 280ms ease;\n\n /* --- Focus Ring --- */\n --thunderid-focus-ring-width: 2px;\n --thunderid-focus-ring-offset: 2px;\n --thunderid-focus-ring-color: rgba(75, 110, 245, 0.35);\n\n /* --- Typography: Font Family --- */\n --thunderid-typography-fontFamily: \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif;\n\n /* --- Typography: Font Sizes --- */\n --thunderid-typography-fontSize-xs: 0.6875rem; /* 11px */\n --thunderid-typography-fontSize-sm: 0.8125rem; /* 13px */\n --thunderid-typography-fontSize-md: 0.875rem; /* 14px */\n --thunderid-typography-fontSize-lg: 1rem; /* 16px */\n --thunderid-typography-fontSize-xl: 1.125rem; /* 18px */\n --thunderid-typography-fontSize-2xl: 1.375rem; /* 22px */\n --thunderid-typography-fontSize-3xl: 1.75rem; /* 28px */\n\n /* --- Typography: Font Weights --- */\n --thunderid-typography-fontWeight-normal: 400;\n --thunderid-typography-fontWeight-medium: 500;\n --thunderid-typography-fontWeight-semibold: 600;\n --thunderid-typography-fontWeight-bold: 700;\n\n /* --- Typography: Line Heights --- */\n --thunderid-typography-lineHeight-tight: 1.25;\n --thunderid-typography-lineHeight-normal: 1.5;\n --thunderid-typography-lineHeight-relaxed: 1.625;\n\n /* --- Typography: Letter Spacing --- */\n --thunderid-typography-letterSpacing-tight: -0.01em;\n --thunderid-typography-letterSpacing-normal: 0;\n --thunderid-typography-letterSpacing-wide: 0.025em;\n\n /* --- Component: Button --- */\n --thunderid-button-borderRadius: var(--thunderid-border-radius-small);\n --thunderid-button-fontWeight: var(--thunderid-typography-fontWeight-medium);\n --thunderid-button-sm-height: 30px;\n --thunderid-button-sm-paddingX: calc(var(--thunderid-spacing-unit) * 1.25);\n --thunderid-button-sm-fontSize: var(--thunderid-typography-fontSize-sm);\n --thunderid-button-md-height: 36px;\n --thunderid-button-md-paddingX: calc(var(--thunderid-spacing-unit) * 2);\n --thunderid-button-md-fontSize: var(--thunderid-typography-fontSize-md);\n --thunderid-button-lg-height: 42px;\n --thunderid-button-lg-paddingX: calc(var(--thunderid-spacing-unit) * 2.5);\n --thunderid-button-lg-fontSize: var(--thunderid-typography-fontSize-lg);\n\n /* --- Component: Input fields --- */\n --thunderid-input-borderRadius: var(--thunderid-border-radius-small);\n --thunderid-input-height: 36px;\n --thunderid-input-paddingX: calc(var(--thunderid-spacing-unit) * 1.25);\n --thunderid-input-fontSize: var(--thunderid-typography-fontSize-md);\n --thunderid-input-borderColor: var(--thunderid-color-border);\n --thunderid-input-focusBorderColor: var(--thunderid-color-primary-main);\n --thunderid-input-focusRing: 0 0 0 3px var(--thunderid-focus-ring-color);\n\n /* --- Component: Card --- */\n --thunderid-card-borderRadius: var(--thunderid-border-radius-medium);\n --thunderid-card-padding: calc(var(--thunderid-spacing-unit) * 2.5);\n --thunderid-card-shadow: var(--thunderid-shadow-small);\n --thunderid-card-borderColor: var(--thunderid-color-border);\n\n /* --- Component: Alert --- */\n --thunderid-alert-borderRadius: var(--thunderid-border-radius-small);\n --thunderid-alert-paddingX: calc(var(--thunderid-spacing-unit) * 1.5);\n --thunderid-alert-paddingY: calc(var(--thunderid-spacing-unit) * 1.25);\n\n /* --- Component: Checkbox --- */\n --thunderid-checkbox-size: 16px;\n\n /* --- Component: Avatar --- */\n --thunderid-avatar-size: 64px;\n --thunderid-avatar-fontSize: 1.375rem;\n\n /* --- Component: Dropdown --- */\n --thunderid-dropdown-borderRadius: var(--thunderid-border-radius-medium);\n --thunderid-dropdown-shadow: var(--thunderid-shadow-medium);\n --thunderid-dropdown-itemPaddingX: calc(var(--thunderid-spacing-unit) * 1.5);\n --thunderid-dropdown-itemPaddingY: calc(var(--thunderid-spacing-unit) * 1);\n\n /* --- Component overrides (set by ThemeProvider when configured) --- */\n --thunderid-component-button-root-borderRadius: var(--thunderid-button-borderRadius);\n --thunderid-component-field-root-borderRadius: var(--thunderid-input-borderRadius);\n}\n";
|
|
14
14
|
export default DEFAULTS_CSS;
|
|
15
15
|
//# sourceMappingURL=defaults.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.css.d.ts","sourceRoot":"","sources":["../../src/styles/defaults.css.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,YAAY,+
|
|
1
|
+
{"version":3,"file":"defaults.css.d.ts","sourceRoot":"","sources":["../../src/styles/defaults.css.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,YAAY,+3NA4JjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectStyles.d.ts","sourceRoot":"","sources":["../../src/styles/injectStyles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"injectStyles.d.ts","sourceRoot":"","sources":["../../src/styles/injectStyles.ts"],"names":[],"mappings":"AAiFA;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAclE;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveTranslationsInObject.d.ts","sourceRoot":"","sources":["../../src/utils/resolveTranslationsInObject.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,oBAAoB,EAA8B,MAAM,oBAAoB,CAAC;AAErF,KAAK,aAAa,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAEvF;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACvE,KAAK,CAAC,EACN,GAAG,aAAa,EAChB,aAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"resolveTranslationsInObject.d.ts","sourceRoot":"","sources":["../../src/utils/resolveTranslationsInObject.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,oBAAoB,EAA8B,MAAM,oBAAoB,CAAC;AAErF,KAAK,aAAa,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAEvF;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACvE,KAAK,CAAC,EACN,GAAG,aAAa,EAChB,aAAY,MAAM,EAAwE,EAC1F,OAAO,oBAAoB,GAAG,IAAI,KACjC,CAUF,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thunderid/vue",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Vue SDK for ThunderID",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"thunderid",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"dompurify": "3.4.13",
|
|
61
61
|
"tslib": "2.8.1",
|
|
62
|
-
"@thunderid/browser": "^1.0.
|
|
62
|
+
"@thunderid/browser": "^1.0.5"
|
|
63
63
|
},
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|