@shohojdhara/atomix 0.2.6 → 0.2.8
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 +4 -0
- package/README.md +3 -3
- package/dist/atomix.css +373 -55
- package/dist/atomix.min.css +2 -2
- package/dist/index.d.ts +458 -19
- package/dist/index.esm.js +975 -261
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +984 -261
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/themes/applemix.css +373 -55
- package/dist/themes/applemix.min.css +2 -2
- package/dist/themes/boomdevs.css +372 -54
- package/dist/themes/boomdevs.min.css +2 -2
- package/dist/themes/esrar.css +373 -55
- package/dist/themes/esrar.min.css +2 -2
- package/dist/themes/flashtrade.css +1776 -612
- package/dist/themes/flashtrade.min.css +113 -7
- package/dist/themes/mashroom.css +372 -54
- package/dist/themes/mashroom.min.css +2 -2
- package/dist/themes/shaj-default.css +372 -54
- package/dist/themes/shaj-default.min.css +2 -2
- package/package.json +1 -1
- package/src/components/Button/Button.stories.tsx +199 -0
- package/src/components/Button/Button.tsx +238 -78
- package/src/components/Card/Card.stories.tsx +202 -0
- package/src/components/Card/Card.tsx +248 -77
- package/src/components/Form/Input.stories.tsx +228 -2
- package/src/components/Hero/Hero.stories.tsx +297 -0
- package/src/components/Hero/Hero.tsx +79 -0
- package/src/components/{Tab/Tab.stories.tsx → Tabs/Tabs.stories.tsx} +9 -9
- package/src/components/{Tab/Tab.tsx → Tabs/Tabs.tsx} +7 -7
- package/src/components/Tabs/index.ts +2 -0
- package/src/components/Tooltip/Tooltip.tsx +68 -66
- package/src/components/index.ts +12 -2
- package/src/lib/composables/useButton.ts +37 -5
- package/src/lib/composables/useHero.ts +33 -4
- package/src/lib/composables/useHeroBackgroundSlider.ts +228 -0
- package/src/lib/composables/useInput.ts +39 -1
- package/src/lib/constants/components.ts +59 -0
- package/src/lib/types/components.ts +376 -4
- package/src/styles/01-settings/_settings.tooltip.scss +2 -2
- package/src/styles/06-components/_components.button.scss +100 -0
- package/src/styles/06-components/_components.card.scss +219 -1
- package/src/styles/06-components/_components.hero.scss +51 -1
- package/src/styles/06-components/_components.tooltip.scss +89 -66
- package/src/components/Tab/index.ts +0 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -136,12 +136,12 @@ Notes:
|
|
|
136
136
|
Atomix provides 40+ production-ready components organized into categories:
|
|
137
137
|
|
|
138
138
|
- **Actions**: [Button](src/components/Button), [Dropdown](src/components/Dropdown), [Pagination](src/components/Pagination)
|
|
139
|
-
- **Data Display**: [Badge](src/components/Badge), [Card](src/components/Card), [
|
|
140
|
-
- **Feedback**: [
|
|
139
|
+
- **Data Display**: [Badge](src/components/Badge), [Card](src/components/Card), [DataTable](src/components/DataTable)
|
|
140
|
+
- **Feedback**: [Callout](src/components/Callout), [Spinner](src/components/Spinner), [Progress](src/components/Progress)
|
|
141
141
|
- **Forms**: [Checkbox](src/components/Checkbox), [Input](src/components/Input), [Select](src/components/Select)
|
|
142
142
|
- **Navigation**: [Breadcrumb](src/components/Breadcrumb), [Navbar](src/components/Navbar), [Tabs](src/components/Tabs)
|
|
143
143
|
- **Surfaces**: [Accordion](src/components/Accordion), [Callout](src/components/Callout), [Modal](src/components/Modal)
|
|
144
|
-
- **Utilities**: [ColorModeToggle](src/components/ColorModeToggle), [
|
|
144
|
+
- **Utilities**: [ColorModeToggle](src/components/ColorModeToggle), [Icon](src/components/Icon), [AtomixGlass](src/components/AtomixGlass), [AtomixLogo](src/components/AtomixLogo)
|
|
145
145
|
|
|
146
146
|
## Design Tokens
|
|
147
147
|
|
package/dist/atomix.css
CHANGED
|
@@ -2368,12 +2368,76 @@ a, a:hover {
|
|
|
2368
2368
|
.c-btn--icon {
|
|
2369
2369
|
--atomix-btn-padding-x: var(--atomix-btn-padding-y);
|
|
2370
2370
|
}
|
|
2371
|
+
.c-btn--full-width {
|
|
2372
|
+
width: 100%;
|
|
2373
|
+
}
|
|
2374
|
+
.c-btn--block {
|
|
2375
|
+
display: block;
|
|
2376
|
+
width: 100%;
|
|
2377
|
+
}
|
|
2378
|
+
.c-btn--loading {
|
|
2379
|
+
position: relative;
|
|
2380
|
+
pointer-events: none;
|
|
2381
|
+
cursor: wait;
|
|
2382
|
+
}
|
|
2383
|
+
.c-btn--loading::before {
|
|
2384
|
+
content: "";
|
|
2385
|
+
position: absolute;
|
|
2386
|
+
inset: 0;
|
|
2387
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
2388
|
+
border-radius: var(--atomix-btn-border-radius);
|
|
2389
|
+
z-index: 0;
|
|
2390
|
+
}
|
|
2391
|
+
.c-btn--active {
|
|
2392
|
+
--atomix-btn-bg: var(--atomix-btn-active-bg, var(--atomix-btn-hover-bg));
|
|
2393
|
+
--atomix-btn-color: var(--atomix-btn-active-color, var(--atomix-btn-hover-color));
|
|
2394
|
+
--atomix-btn-border-color: var(--atomix-btn-active-border-color, var(--atomix-btn-hover-border-color));
|
|
2395
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
2396
|
+
}
|
|
2397
|
+
.c-btn--selected {
|
|
2398
|
+
--atomix-btn-border-width: 2px;
|
|
2399
|
+
--atomix-btn-border-color: var(--atomix-brand-border-subtle, var(--atomix-primary));
|
|
2400
|
+
box-shadow: 0 0 0 2px rgba(var(--atomix-primary-rgb, 124, 58, 237), 0.2);
|
|
2401
|
+
}
|
|
2402
|
+
.c-btn__icon {
|
|
2403
|
+
display: inline-flex;
|
|
2404
|
+
align-items: center;
|
|
2405
|
+
flex-shrink: 0;
|
|
2406
|
+
}
|
|
2407
|
+
.c-btn__icon--start {
|
|
2408
|
+
order: -1;
|
|
2409
|
+
}
|
|
2410
|
+
.c-btn__icon--end {
|
|
2411
|
+
order: 1;
|
|
2412
|
+
}
|
|
2413
|
+
.c-btn__label {
|
|
2414
|
+
display: inline-block;
|
|
2415
|
+
}
|
|
2416
|
+
.c-btn__spinner {
|
|
2417
|
+
display: inline-flex;
|
|
2418
|
+
align-items: center;
|
|
2419
|
+
flex-shrink: 0;
|
|
2420
|
+
margin-right: 0.5rem;
|
|
2421
|
+
}
|
|
2422
|
+
.c-btn__spinner:last-child {
|
|
2423
|
+
margin-right: 0;
|
|
2424
|
+
margin-left: 0.5rem;
|
|
2425
|
+
}
|
|
2426
|
+
.c-btn:focus-visible {
|
|
2427
|
+
outline: 2px solid var(--atomix-brand-border-subtle, var(--atomix-primary));
|
|
2428
|
+
outline-offset: 2px;
|
|
2429
|
+
box-shadow: var(--atomix-btn-focus-box-shadow);
|
|
2430
|
+
}
|
|
2371
2431
|
.c-btn:disabled, .c-btn--disabled, fieldset:disabled .c-btn {
|
|
2372
2432
|
color: var(--atomix-btn-disabled-color);
|
|
2373
2433
|
pointer-events: none;
|
|
2374
2434
|
background-color: var(--atomix-btn-disabled-bg);
|
|
2375
2435
|
border-color: var(--atomix-btn-disabled-border-color);
|
|
2376
2436
|
opacity: var(--atomix-btn-disabled-opacity);
|
|
2437
|
+
cursor: not-allowed;
|
|
2438
|
+
}
|
|
2439
|
+
.c-btn:disabled:focus-visible, .c-btn--disabled:focus-visible, fieldset:disabled .c-btn:focus-visible {
|
|
2440
|
+
outline: none;
|
|
2377
2441
|
}
|
|
2378
2442
|
.c-btn--glass {
|
|
2379
2443
|
background-color: color-mix(in srgb, var(--atomix-btn-bg) 50%, transparent);
|
|
@@ -2381,6 +2445,22 @@ a, a:hover {
|
|
|
2381
2445
|
.c-btn--glass:hover {
|
|
2382
2446
|
background-color: color-mix(in srgb, var(--atomix-btn-hover-bg) 50%, transparent);
|
|
2383
2447
|
}
|
|
2448
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2449
|
+
.c-btn {
|
|
2450
|
+
transition: none;
|
|
2451
|
+
}
|
|
2452
|
+
.c-btn__spinner {
|
|
2453
|
+
animation-duration: 2s;
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
@media (prefers-contrast: high) {
|
|
2457
|
+
.c-btn {
|
|
2458
|
+
border-width: 2px;
|
|
2459
|
+
}
|
|
2460
|
+
.c-btn:focus-visible {
|
|
2461
|
+
outline-width: 3px;
|
|
2462
|
+
}
|
|
2463
|
+
}
|
|
2384
2464
|
.c-datepicker {
|
|
2385
2465
|
--atomix-datepicker-width: 19rem;
|
|
2386
2466
|
--atomix-datepicker-padding-x: 0.5rem;
|
|
@@ -2843,6 +2923,19 @@ a, a:hover {
|
|
|
2843
2923
|
transition-timing-function: ease-in-out;
|
|
2844
2924
|
transition-delay: 0s;
|
|
2845
2925
|
background-color: var(--atomix-card-bg);
|
|
2926
|
+
display: block;
|
|
2927
|
+
text-decoration: none;
|
|
2928
|
+
color: inherit;
|
|
2929
|
+
}
|
|
2930
|
+
.c-card[href] {
|
|
2931
|
+
display: block;
|
|
2932
|
+
text-decoration: none !important;
|
|
2933
|
+
color: inherit !important;
|
|
2934
|
+
cursor: pointer;
|
|
2935
|
+
}
|
|
2936
|
+
.c-card[href]:hover, .c-card[href]:focus, .c-card[href]:visited, .c-card[href]:active {
|
|
2937
|
+
text-decoration: none !important;
|
|
2938
|
+
color: inherit !important;
|
|
2846
2939
|
}
|
|
2847
2940
|
.c-card__header {
|
|
2848
2941
|
margin-bottom: var(--atomix-card-header-spacer-y);
|
|
@@ -2920,15 +3013,204 @@ a, a:hover {
|
|
|
2920
3013
|
padding: var(--atomix-card-row-spacer-y) var(--atomix-card-row-spacer-x);
|
|
2921
3014
|
padding-top: 0;
|
|
2922
3015
|
}
|
|
3016
|
+
.c-card--sm {
|
|
3017
|
+
--atomix-card-spacer-y: 0.5rem;
|
|
3018
|
+
--atomix-card-spacer-x: 0.5rem;
|
|
3019
|
+
--atomix-card-title-font-size: var(--atomix-font-size-sm);
|
|
3020
|
+
--atomix-card-text-font-size: var(--atomix-font-size-xs);
|
|
3021
|
+
}
|
|
3022
|
+
.c-card--lg {
|
|
3023
|
+
--atomix-card-spacer-y: 1.5rem;
|
|
3024
|
+
--atomix-card-spacer-x: 1.5rem;
|
|
3025
|
+
--atomix-card-title-font-size: var(--atomix-font-size-lg);
|
|
3026
|
+
--atomix-card-text-font-size: var(--atomix-font-size-base);
|
|
3027
|
+
}
|
|
3028
|
+
.c-card--filled {
|
|
3029
|
+
background-color: var(--atomix-card-bg);
|
|
3030
|
+
}
|
|
3031
|
+
.c-card--outlined {
|
|
3032
|
+
background-color: transparent;
|
|
3033
|
+
border-width: var(--atomix-card-border-width);
|
|
3034
|
+
}
|
|
3035
|
+
.c-card--ghost {
|
|
3036
|
+
background-color: transparent;
|
|
3037
|
+
border: none;
|
|
3038
|
+
}
|
|
3039
|
+
.c-card--elevated {
|
|
3040
|
+
box-shadow: var(--atomix-box-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
3041
|
+
}
|
|
3042
|
+
.c-card--elevation-none {
|
|
3043
|
+
box-shadow: none;
|
|
3044
|
+
}
|
|
3045
|
+
.c-card--elevation-sm {
|
|
3046
|
+
box-shadow: var(--atomix-box-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
|
|
3047
|
+
}
|
|
3048
|
+
.c-card--elevation-md {
|
|
3049
|
+
box-shadow: var(--atomix-box-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
3050
|
+
}
|
|
3051
|
+
.c-card--elevation-lg {
|
|
3052
|
+
box-shadow: var(--atomix-box-shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
|
|
3053
|
+
}
|
|
3054
|
+
.c-card--elevation-xl {
|
|
3055
|
+
box-shadow: var(--atomix-box-shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.1));
|
|
3056
|
+
}
|
|
3057
|
+
.c-card--disabled {
|
|
3058
|
+
opacity: 0.6;
|
|
3059
|
+
cursor: not-allowed;
|
|
3060
|
+
pointer-events: none;
|
|
3061
|
+
-webkit-user-select: none;
|
|
3062
|
+
-moz-user-select: none;
|
|
3063
|
+
user-select: none;
|
|
3064
|
+
}
|
|
3065
|
+
.c-card--loading {
|
|
3066
|
+
position: relative;
|
|
3067
|
+
pointer-events: none;
|
|
3068
|
+
-webkit-user-select: none;
|
|
3069
|
+
-moz-user-select: none;
|
|
3070
|
+
user-select: none;
|
|
3071
|
+
overflow: hidden;
|
|
3072
|
+
}
|
|
3073
|
+
.c-card--loading::before {
|
|
3074
|
+
content: "";
|
|
3075
|
+
position: absolute;
|
|
3076
|
+
inset: 0;
|
|
3077
|
+
background-color: rgba(255, 255, 255, 0.7);
|
|
3078
|
+
-webkit-backdrop-filter: blur(1px);
|
|
3079
|
+
backdrop-filter: blur(1px);
|
|
3080
|
+
z-index: 1;
|
|
3081
|
+
border-radius: var(--atomix-card-border-radius);
|
|
3082
|
+
}
|
|
3083
|
+
[data-theme=dark] .c-card--loading::before, .c-card--loading.dark::before {
|
|
3084
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
3085
|
+
}
|
|
3086
|
+
.c-card--selected {
|
|
3087
|
+
--atomix-card-border-color: var(--atomix-brand-border-subtle);
|
|
3088
|
+
--atomix-card-border-width: 2px;
|
|
3089
|
+
box-shadow: var(--atomix-box-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
3090
|
+
}
|
|
3091
|
+
.c-card--interactive {
|
|
3092
|
+
cursor: pointer;
|
|
3093
|
+
transition: all 0.2s ease-in-out;
|
|
3094
|
+
}
|
|
3095
|
+
.c-card--interactive:hover:not(.c-card--interactive--disabled) {
|
|
3096
|
+
transform: translateY(-2px);
|
|
3097
|
+
box-shadow: var(--atomix-box-shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
|
|
3098
|
+
}
|
|
3099
|
+
.c-card--interactive:active:not(.c-card--interactive--disabled) {
|
|
3100
|
+
transform: translateY(0);
|
|
3101
|
+
}
|
|
3102
|
+
.c-card--primary {
|
|
3103
|
+
--atomix-card-bg: var(--atomix-brand-bg-subtle);
|
|
3104
|
+
--atomix-card-bg-hover: var(--atomix-brand-bg-subtle);
|
|
3105
|
+
--atomix-card-border-color: var(--atomix-brand-border-subtle);
|
|
3106
|
+
--atomix-card-title-color: var(--atomix-brand-text-emphasis);
|
|
3107
|
+
}
|
|
3108
|
+
.c-card--secondary {
|
|
3109
|
+
--atomix-card-bg: var(--atomix-secondary-bg-subtle);
|
|
3110
|
+
--atomix-card-bg-hover: var(--atomix-secondary-bg-subtle);
|
|
3111
|
+
--atomix-card-border-color: var(--atomix-secondary-border-subtle);
|
|
3112
|
+
--atomix-card-title-color: var(--atomix-secondary-text-emphasis);
|
|
3113
|
+
}
|
|
3114
|
+
.c-card--success {
|
|
3115
|
+
--atomix-card-bg: var(--atomix-success-bg-subtle);
|
|
3116
|
+
--atomix-card-bg-hover: var(--atomix-success-bg-subtle);
|
|
3117
|
+
--atomix-card-border-color: var(--atomix-success-border-subtle);
|
|
3118
|
+
--atomix-card-title-color: var(--atomix-success-text-emphasis);
|
|
3119
|
+
}
|
|
3120
|
+
.c-card--info {
|
|
3121
|
+
--atomix-card-bg: var(--atomix-info-bg-subtle);
|
|
3122
|
+
--atomix-card-bg-hover: var(--atomix-info-bg-subtle);
|
|
3123
|
+
--atomix-card-border-color: var(--atomix-info-border-subtle);
|
|
3124
|
+
--atomix-card-title-color: var(--atomix-info-text-emphasis);
|
|
3125
|
+
}
|
|
3126
|
+
.c-card--warning {
|
|
3127
|
+
--atomix-card-bg: var(--atomix-warning-bg-subtle);
|
|
3128
|
+
--atomix-card-bg-hover: var(--atomix-warning-bg-subtle);
|
|
3129
|
+
--atomix-card-border-color: var(--atomix-warning-border-subtle);
|
|
3130
|
+
--atomix-card-title-color: var(--atomix-warning-text-emphasis);
|
|
3131
|
+
}
|
|
3132
|
+
.c-card--error {
|
|
3133
|
+
--atomix-card-bg: var(--atomix-error-bg-subtle);
|
|
3134
|
+
--atomix-card-bg-hover: var(--atomix-error-bg-subtle);
|
|
3135
|
+
--atomix-card-border-color: var(--atomix-error-border-subtle);
|
|
3136
|
+
--atomix-card-title-color: var(--atomix-error-text-emphasis);
|
|
3137
|
+
}
|
|
3138
|
+
.c-card--light {
|
|
3139
|
+
--atomix-card-bg: var(--atomix-light);
|
|
3140
|
+
--atomix-card-bg-hover: var(--atomix-light-hover);
|
|
3141
|
+
--atomix-card-border-color: var(--atomix-light);
|
|
3142
|
+
--atomix-card-title-color: var(--atomix-dark);
|
|
3143
|
+
--atomix-card-text-color: rgba(0, 0, 0, 0.7);
|
|
3144
|
+
}
|
|
3145
|
+
.c-card--dark {
|
|
3146
|
+
--atomix-card-bg: var(--atomix-dark);
|
|
3147
|
+
--atomix-card-bg-hover: var(--atomix-dark-hover);
|
|
3148
|
+
--atomix-card-border-color: var(--atomix-dark);
|
|
3149
|
+
--atomix-card-title-color: var(--atomix-light);
|
|
3150
|
+
--atomix-card-text-color: rgba(255, 255, 255, 0.8);
|
|
3151
|
+
}
|
|
2923
3152
|
.c-card--glass {
|
|
2924
3153
|
max-width: none;
|
|
2925
3154
|
background-color: color-mix(in srgb, var(--atomix-card-bg) 50%, transparent);
|
|
2926
3155
|
}
|
|
3156
|
+
.c-card__loading {
|
|
3157
|
+
position: absolute;
|
|
3158
|
+
inset: 0;
|
|
3159
|
+
display: flex;
|
|
3160
|
+
align-items: center;
|
|
3161
|
+
justify-content: center;
|
|
3162
|
+
z-index: 2;
|
|
3163
|
+
border-radius: var(--atomix-card-border-radius);
|
|
3164
|
+
pointer-events: none;
|
|
3165
|
+
}
|
|
3166
|
+
.c-card__spinner {
|
|
3167
|
+
width: 2.5rem;
|
|
3168
|
+
height: 2.5rem;
|
|
3169
|
+
border: 4px solid;
|
|
3170
|
+
border-color: var(--atomix-border-primary, rgba(0, 0, 0, 0.15));
|
|
3171
|
+
border-top-color: var(--atomix-brand-text-emphasis, var(--atomix-primary, #7c3aed));
|
|
3172
|
+
border-right-color: var(--atomix-brand-text-emphasis, var(--atomix-primary, #7c3aed));
|
|
3173
|
+
border-radius: 50%;
|
|
3174
|
+
animation: spin 0.8s linear infinite;
|
|
3175
|
+
background-color: transparent;
|
|
3176
|
+
flex-shrink: 0;
|
|
3177
|
+
box-sizing: border-box;
|
|
3178
|
+
display: block;
|
|
3179
|
+
}
|
|
3180
|
+
.c-card:focus-visible {
|
|
3181
|
+
outline: 2px solid var(--atomix-brand-border-subtle);
|
|
3182
|
+
outline-offset: 2px;
|
|
3183
|
+
}
|
|
3184
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3185
|
+
.c-card {
|
|
3186
|
+
transition: none;
|
|
3187
|
+
}
|
|
3188
|
+
.c-card--interactive:hover:not(.c-card--disabled) {
|
|
3189
|
+
transform: none;
|
|
3190
|
+
}
|
|
3191
|
+
.c-card__spinner {
|
|
3192
|
+
animation: none;
|
|
3193
|
+
border-top-color: transparent;
|
|
3194
|
+
}
|
|
3195
|
+
}
|
|
3196
|
+
@media (prefers-contrast: high) {
|
|
3197
|
+
.c-card {
|
|
3198
|
+
border-width: 2px;
|
|
3199
|
+
}
|
|
3200
|
+
.c-card--selected {
|
|
3201
|
+
border-width: 3px;
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
2927
3204
|
.is-elevated .c-card {
|
|
2928
3205
|
box-shadow: var(--atomix-box-shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.175));
|
|
2929
3206
|
z-index: 1;
|
|
2930
3207
|
transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
2931
3208
|
}
|
|
3209
|
+
@keyframes spin {
|
|
3210
|
+
to {
|
|
3211
|
+
transform: rotate(360deg);
|
|
3212
|
+
}
|
|
3213
|
+
}
|
|
2932
3214
|
.c-chart {
|
|
2933
3215
|
--atomix-chart-primary-color: var(--atomix-primary);
|
|
2934
3216
|
--atomix-chart-secondary-color: var(--atomix-secondary);
|
|
@@ -6297,7 +6579,7 @@ a, a:hover {
|
|
|
6297
6579
|
inset: 0;
|
|
6298
6580
|
background-color: var(--atomix-hero-overlay);
|
|
6299
6581
|
opacity: var(--atomix-hero-overlay-opacity);
|
|
6300
|
-
z-index:
|
|
6582
|
+
z-index: 1;
|
|
6301
6583
|
}
|
|
6302
6584
|
.c-hero__container {
|
|
6303
6585
|
position: relative;
|
|
@@ -6367,6 +6649,46 @@ a, a:hover {
|
|
|
6367
6649
|
.c-hero--full-vh {
|
|
6368
6650
|
min-height: 100vh;
|
|
6369
6651
|
}
|
|
6652
|
+
.c-hero__slider {
|
|
6653
|
+
position: absolute;
|
|
6654
|
+
inset: 0;
|
|
6655
|
+
overflow: hidden;
|
|
6656
|
+
z-index: 0;
|
|
6657
|
+
}
|
|
6658
|
+
.c-hero__slider-item {
|
|
6659
|
+
position: absolute;
|
|
6660
|
+
inset: 0;
|
|
6661
|
+
opacity: 0;
|
|
6662
|
+
transition: opacity var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
6663
|
+
pointer-events: none;
|
|
6664
|
+
}
|
|
6665
|
+
.c-hero__slider-item img,
|
|
6666
|
+
.c-hero__slider-item video {
|
|
6667
|
+
width: 100%;
|
|
6668
|
+
height: 100%;
|
|
6669
|
+
-o-object-fit: cover;
|
|
6670
|
+
object-fit: cover;
|
|
6671
|
+
-o-object-position: center;
|
|
6672
|
+
object-position: center;
|
|
6673
|
+
}
|
|
6674
|
+
.c-hero__slider-item--active {
|
|
6675
|
+
opacity: 1;
|
|
6676
|
+
pointer-events: auto;
|
|
6677
|
+
z-index: 1;
|
|
6678
|
+
}
|
|
6679
|
+
.c-hero__slider--fade .c-hero__slider-item {
|
|
6680
|
+
transition: opacity var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
6681
|
+
}
|
|
6682
|
+
.c-hero__slider--slide .c-hero__slider-item {
|
|
6683
|
+
transform: translateX(100%);
|
|
6684
|
+
transition: transform var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
6685
|
+
}
|
|
6686
|
+
.c-hero__slider--slide .c-hero__slider-item--active {
|
|
6687
|
+
transform: translateX(0);
|
|
6688
|
+
}
|
|
6689
|
+
.c-hero__slider--custom .c-hero__slider-item {
|
|
6690
|
+
transition: all var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
6691
|
+
}
|
|
6370
6692
|
.c-form-group {
|
|
6371
6693
|
--atomix-input-group-width: 100%;
|
|
6372
6694
|
--atomix-input-group-label-color: var(--atomix-secondary-text-emphasis);
|
|
@@ -9993,24 +10315,52 @@ a, a:hover {
|
|
|
9993
10315
|
--atomix-tooltip-bg: var(--atomix-invert-bg-subtle);
|
|
9994
10316
|
--atomix-tooltip-font-size: 0.75rem;
|
|
9995
10317
|
--atomix-tooltip-font-weight: 400;
|
|
9996
|
-
--atomix-tooltip-color: var(--atomix-invert-text
|
|
10318
|
+
--atomix-tooltip-color: var(--atomix-invert-text);
|
|
9997
10319
|
--atomix-tooltip-border-radius: 0.5rem;
|
|
9998
10320
|
--atomix-tooltip-border-width: ;
|
|
9999
10321
|
--atomix-tooltip-border-color: ;
|
|
10000
10322
|
--atomix-tooltip-box-shadow: ;
|
|
10001
10323
|
--atomix-tooltip-arrow-size: 0.75rem;
|
|
10324
|
+
--atomix-tooltip-offset: 0.75rem;
|
|
10002
10325
|
position: absolute;
|
|
10003
|
-
bottom: calc(100% + var(--atomix-tooltip-arrow-size));
|
|
10004
|
-
left: 50%;
|
|
10005
10326
|
width: -moz-max-content;
|
|
10006
10327
|
width: max-content;
|
|
10007
10328
|
height: -moz-max-content;
|
|
10008
10329
|
height: max-content;
|
|
10009
10330
|
max-width: var(--atomix-tooltip-max-width);
|
|
10010
|
-
transform: translateX(-50%);
|
|
10011
10331
|
pointer-events: none;
|
|
10012
10332
|
z-index: 1000;
|
|
10013
10333
|
}
|
|
10334
|
+
.c-tooltip--top, .c-tooltip--top-left, .c-tooltip--top-right {
|
|
10335
|
+
bottom: calc(100% + var(--atomix-tooltip-offset));
|
|
10336
|
+
transform-origin: bottom center;
|
|
10337
|
+
}
|
|
10338
|
+
.c-tooltip--bottom, .c-tooltip--bottom-left, .c-tooltip--bottom-right {
|
|
10339
|
+
top: calc(100% + var(--atomix-tooltip-offset));
|
|
10340
|
+
transform-origin: top center;
|
|
10341
|
+
}
|
|
10342
|
+
.c-tooltip--left {
|
|
10343
|
+
right: calc(100% + var(--atomix-tooltip-offset));
|
|
10344
|
+
top: 50%;
|
|
10345
|
+
transform: translateY(-50%);
|
|
10346
|
+
transform-origin: right center;
|
|
10347
|
+
}
|
|
10348
|
+
.c-tooltip--right {
|
|
10349
|
+
left: calc(100% + var(--atomix-tooltip-offset));
|
|
10350
|
+
top: 50%;
|
|
10351
|
+
transform: translateY(-50%);
|
|
10352
|
+
transform-origin: left center;
|
|
10353
|
+
}
|
|
10354
|
+
.c-tooltip--top, .c-tooltip--bottom {
|
|
10355
|
+
left: 50%;
|
|
10356
|
+
transform: translateX(-50%);
|
|
10357
|
+
}
|
|
10358
|
+
.c-tooltip--top-left, .c-tooltip--bottom-left {
|
|
10359
|
+
left: 0;
|
|
10360
|
+
}
|
|
10361
|
+
.c-tooltip--top-right, .c-tooltip--bottom-right {
|
|
10362
|
+
right: 0;
|
|
10363
|
+
}
|
|
10014
10364
|
.c-tooltip__content {
|
|
10015
10365
|
position: relative;
|
|
10016
10366
|
color: var(--atomix-tooltip-color);
|
|
@@ -10019,10 +10369,12 @@ a, a:hover {
|
|
|
10019
10369
|
padding: var(--atomix-tooltip-padding-y) var(--atomix-tooltip-padding-x);
|
|
10020
10370
|
background-color: var(--atomix-tooltip-bg);
|
|
10021
10371
|
border-radius: var(--atomix-tooltip-border-radius);
|
|
10372
|
+
box-shadow: var(--atomix-tooltip-box-shadow);
|
|
10022
10373
|
z-index: 2;
|
|
10023
10374
|
opacity: 0;
|
|
10375
|
+
pointer-events: auto;
|
|
10376
|
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
10024
10377
|
transform: scale(0.95);
|
|
10025
|
-
transition: opacity 0.2s ease-out, transform 0.2s ease-out;
|
|
10026
10378
|
}
|
|
10027
10379
|
.c-tooltip__content.is-active {
|
|
10028
10380
|
opacity: 1;
|
|
@@ -10030,71 +10382,37 @@ a, a:hover {
|
|
|
10030
10382
|
}
|
|
10031
10383
|
.c-tooltip__arrow {
|
|
10032
10384
|
position: absolute;
|
|
10033
|
-
bottom: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10034
|
-
left: 50%;
|
|
10035
|
-
transform: translateX(-50%) rotate(45deg);
|
|
10036
10385
|
width: var(--atomix-tooltip-arrow-size);
|
|
10037
10386
|
height: var(--atomix-tooltip-arrow-size);
|
|
10038
10387
|
background-color: var(--atomix-tooltip-bg);
|
|
10039
10388
|
z-index: 1;
|
|
10040
|
-
}
|
|
10041
|
-
.c-tooltip--top-left {
|
|
10042
|
-
left: auto;
|
|
10043
|
-
right: calc(100% - var(--atomix-tooltip-arrow-size) * 2);
|
|
10044
|
-
transform: translateX(0);
|
|
10045
|
-
}
|
|
10046
|
-
.c-tooltip--top-left .c-tooltip__arrow {
|
|
10047
|
-
left: auto;
|
|
10048
|
-
right: var(--atomix-tooltip-arrow-size);
|
|
10049
10389
|
transform: rotate(45deg);
|
|
10050
10390
|
}
|
|
10051
|
-
.c-tooltip--top-right {
|
|
10052
|
-
|
|
10053
|
-
transform: translateX(0);
|
|
10391
|
+
.c-tooltip--top .c-tooltip__arrow, .c-tooltip--top-left .c-tooltip__arrow, .c-tooltip--top-right .c-tooltip__arrow {
|
|
10392
|
+
bottom: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10054
10393
|
}
|
|
10055
|
-
.c-tooltip--
|
|
10056
|
-
|
|
10057
|
-
transform: rotate(45deg);
|
|
10394
|
+
.c-tooltip--bottom .c-tooltip__arrow, .c-tooltip--bottom-left .c-tooltip__arrow, .c-tooltip--bottom-right .c-tooltip__arrow {
|
|
10395
|
+
top: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10058
10396
|
}
|
|
10059
|
-
.c-tooltip--
|
|
10060
|
-
|
|
10397
|
+
.c-tooltip--left .c-tooltip__arrow {
|
|
10398
|
+
right: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10061
10399
|
top: 50%;
|
|
10062
|
-
transform: translateY(-50%);
|
|
10400
|
+
transform: translateY(-50%) rotate(45deg);
|
|
10063
10401
|
}
|
|
10064
10402
|
.c-tooltip--right .c-tooltip__arrow {
|
|
10065
10403
|
left: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10066
10404
|
top: 50%;
|
|
10067
|
-
|
|
10068
|
-
transform: rotate(45deg) translateY(-50%);
|
|
10069
|
-
transform-origin: top;
|
|
10070
|
-
}
|
|
10071
|
-
.c-tooltip--left {
|
|
10072
|
-
left: auto;
|
|
10073
|
-
right: calc(100% + var(--atomix-tooltip-arrow-size));
|
|
10074
|
-
top: 50%;
|
|
10075
|
-
transform: translateY(-50%);
|
|
10076
|
-
}
|
|
10077
|
-
.c-tooltip--left .c-tooltip__arrow {
|
|
10078
|
-
left: auto;
|
|
10079
|
-
top: 50%;
|
|
10080
|
-
bottom: auto;
|
|
10081
|
-
right: calc(var(--atomix-tooltip-arrow-size) / -5);
|
|
10082
|
-
transform: rotate(45deg) translateY(-50%);
|
|
10083
|
-
}
|
|
10084
|
-
.c-tooltip--bottom {
|
|
10085
|
-
top: calc(100% + var(--atomix-tooltip-arrow-size));
|
|
10405
|
+
transform: translateY(-50%) rotate(45deg);
|
|
10086
10406
|
}
|
|
10087
|
-
.c-tooltip--bottom .c-tooltip__arrow {
|
|
10088
|
-
|
|
10089
|
-
|
|
10407
|
+
.c-tooltip--top .c-tooltip__arrow, .c-tooltip--bottom .c-tooltip__arrow {
|
|
10408
|
+
left: 50%;
|
|
10409
|
+
transform: translateX(-50%) rotate(45deg);
|
|
10090
10410
|
}
|
|
10091
|
-
.c-tooltip--bottom-left {
|
|
10092
|
-
|
|
10093
|
-
left: 0;
|
|
10411
|
+
.c-tooltip--top-left .c-tooltip__arrow, .c-tooltip--bottom-left .c-tooltip__arrow {
|
|
10412
|
+
left: var(--atomix-tooltip-arrow-size);
|
|
10094
10413
|
}
|
|
10095
|
-
.c-tooltip--bottom-right {
|
|
10096
|
-
|
|
10097
|
-
right: 0;
|
|
10414
|
+
.c-tooltip--top-right .c-tooltip__arrow, .c-tooltip--bottom-right .c-tooltip__arrow {
|
|
10415
|
+
right: var(--atomix-tooltip-arrow-size);
|
|
10098
10416
|
}
|
|
10099
10417
|
.c-upload {
|
|
10100
10418
|
--atomix-upload-width: 31.25rem;
|