@revikornmann/muka-ui 0.31.0 → 0.32.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/dist/cjs/components/ProgressTracker/ProgressTracker.css +16 -0
- package/dist/cjs/components/ProgressTracker/ProgressTracker.js +23 -2
- package/dist/cjs/components/ProgressTracker/ProgressTracker.js.map +1 -1
- package/dist/esm/components/ProgressTracker/ProgressTracker.css +16 -0
- package/dist/esm/components/ProgressTracker/ProgressTracker.js +23 -2
- package/dist/esm/components/ProgressTracker/ProgressTracker.js.map +1 -1
- package/dist/styles/components/ProgressTracker.css +16 -0
- package/dist/styles/index.css +202 -186
- package/dist/styles/muka-dark.css +202 -186
- package/dist/styles/muka-light.css +202 -186
- package/dist/styles/wireframe-dark.css +202 -186
- package/dist/styles/wireframe-light.css +202 -186
- package/dist/types/components/ProgressTracker/ProgressTracker.d.ts +7 -0
- package/dist/types/components/ProgressTracker/ProgressTracker.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4650,114 +4650,6 @@ body {
|
|
|
4650
4650
|
}
|
|
4651
4651
|
|
|
4652
4652
|
|
|
4653
|
-
/* SwipeActions */
|
|
4654
|
-
/* SwipeActions Component Styles */
|
|
4655
|
-
|
|
4656
|
-
.muka-swipe-actions {
|
|
4657
|
-
position: relative;
|
|
4658
|
-
overflow: hidden;
|
|
4659
|
-
touch-action: pan-y;
|
|
4660
|
-
-webkit-user-select: none;
|
|
4661
|
-
user-select: none;
|
|
4662
|
-
background-color: var(--color-surface-level3);
|
|
4663
|
-
}
|
|
4664
|
-
|
|
4665
|
-
.muka-swipe-actions--disabled {
|
|
4666
|
-
touch-action: auto;
|
|
4667
|
-
}
|
|
4668
|
-
|
|
4669
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
4670
|
-
|
|
4671
|
-
.muka-swipe-actions__row {
|
|
4672
|
-
position: relative;
|
|
4673
|
-
z-index: 1;
|
|
4674
|
-
background-color: inherit;
|
|
4675
|
-
will-change: transform;
|
|
4676
|
-
}
|
|
4677
|
-
|
|
4678
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4679
|
-
|
|
4680
|
-
.muka-swipe-actions__panel {
|
|
4681
|
-
position: absolute;
|
|
4682
|
-
top: 0;
|
|
4683
|
-
bottom: 0;
|
|
4684
|
-
display: flex;
|
|
4685
|
-
align-items: stretch;
|
|
4686
|
-
z-index: 0;
|
|
4687
|
-
}
|
|
4688
|
-
|
|
4689
|
-
.muka-swipe-actions__panel--left {
|
|
4690
|
-
left: 0;
|
|
4691
|
-
}
|
|
4692
|
-
|
|
4693
|
-
.muka-swipe-actions__panel--right {
|
|
4694
|
-
right: 0;
|
|
4695
|
-
}
|
|
4696
|
-
|
|
4697
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
4698
|
-
|
|
4699
|
-
.muka-swipe-actions__button {
|
|
4700
|
-
display: flex;
|
|
4701
|
-
flex-direction: column;
|
|
4702
|
-
align-items: center;
|
|
4703
|
-
justify-content: center;
|
|
4704
|
-
gap: var(--spacing-1);
|
|
4705
|
-
border: none;
|
|
4706
|
-
cursor: pointer;
|
|
4707
|
-
padding: var(--spacing-2);
|
|
4708
|
-
background-color: var(--color-surface-level2);
|
|
4709
|
-
color: var(--color-text-default-default);
|
|
4710
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4711
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4712
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4713
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4714
|
-
-webkit-tap-highlight-color: transparent;
|
|
4715
|
-
transition: filter 0.12s ease;
|
|
4716
|
-
}
|
|
4717
|
-
|
|
4718
|
-
.muka-swipe-actions__button:hover {
|
|
4719
|
-
filter: brightness(0.95);
|
|
4720
|
-
}
|
|
4721
|
-
|
|
4722
|
-
.muka-swipe-actions__button:focus-visible {
|
|
4723
|
-
outline: 2px solid var(--color-action-default);
|
|
4724
|
-
outline-offset: -2px;
|
|
4725
|
-
}
|
|
4726
|
-
|
|
4727
|
-
.muka-swipe-actions__button-icon {
|
|
4728
|
-
display: inline-flex;
|
|
4729
|
-
align-items: center;
|
|
4730
|
-
justify-content: center;
|
|
4731
|
-
}
|
|
4732
|
-
|
|
4733
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
4734
|
-
|
|
4735
|
-
.muka-swipe-actions__button--neutral {
|
|
4736
|
-
background-color: var(--color-surface-level2);
|
|
4737
|
-
color: var(--color-text-default-default);
|
|
4738
|
-
}
|
|
4739
|
-
|
|
4740
|
-
.muka-swipe-actions__button--primary {
|
|
4741
|
-
background-color: var(--color-action-default);
|
|
4742
|
-
color: var(--color-text-default-inverse);
|
|
4743
|
-
}
|
|
4744
|
-
|
|
4745
|
-
.muka-swipe-actions__button--success {
|
|
4746
|
-
background-color: var(--color-state-success-default);
|
|
4747
|
-
color: var(--color-text-default-inverse);
|
|
4748
|
-
}
|
|
4749
|
-
|
|
4750
|
-
.muka-swipe-actions__button--warning {
|
|
4751
|
-
background-color: var(--color-state-warning-default);
|
|
4752
|
-
color: var(--color-text-default-default);
|
|
4753
|
-
}
|
|
4754
|
-
|
|
4755
|
-
.muka-swipe-actions__button--destructive {
|
|
4756
|
-
background-color: var(--color-state-error-default);
|
|
4757
|
-
color: var(--color-text-default-inverse);
|
|
4758
|
-
}
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
4653
|
/* SpecList */
|
|
4762
4654
|
/* SpecList Component Styles */
|
|
4763
4655
|
|
|
@@ -4993,84 +4885,6 @@ body {
|
|
|
4993
4885
|
}
|
|
4994
4886
|
|
|
4995
4887
|
|
|
4996
|
-
/* Spinner */
|
|
4997
|
-
/* Spinner Component Styles */
|
|
4998
|
-
|
|
4999
|
-
.muka-spinner {
|
|
5000
|
-
display: inline-flex;
|
|
5001
|
-
align-items: center;
|
|
5002
|
-
justify-content: center;
|
|
5003
|
-
color: var(--color-text-default-default);
|
|
5004
|
-
line-height: 0;
|
|
5005
|
-
}
|
|
5006
|
-
|
|
5007
|
-
.muka-spinner--subtle {
|
|
5008
|
-
color: var(--color-text-subtle-default);
|
|
5009
|
-
}
|
|
5010
|
-
|
|
5011
|
-
.muka-spinner--inverse {
|
|
5012
|
-
color: var(--color-text-default-inverse);
|
|
5013
|
-
}
|
|
5014
|
-
|
|
5015
|
-
.muka-spinner__circle {
|
|
5016
|
-
display: inline-block;
|
|
5017
|
-
border-radius: 50%;
|
|
5018
|
-
border-style: solid;
|
|
5019
|
-
border-color: currentColor;
|
|
5020
|
-
border-right-color: transparent;
|
|
5021
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
5022
|
-
box-sizing: border-box;
|
|
5023
|
-
}
|
|
5024
|
-
|
|
5025
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
5026
|
-
|
|
5027
|
-
.muka-spinner--sm .muka-spinner__circle {
|
|
5028
|
-
width: 16px;
|
|
5029
|
-
height: 16px;
|
|
5030
|
-
border-width: 2px;
|
|
5031
|
-
}
|
|
5032
|
-
|
|
5033
|
-
.muka-spinner--md .muka-spinner__circle {
|
|
5034
|
-
width: 20px;
|
|
5035
|
-
height: 20px;
|
|
5036
|
-
border-width: 2px;
|
|
5037
|
-
}
|
|
5038
|
-
|
|
5039
|
-
.muka-spinner--lg .muka-spinner__circle {
|
|
5040
|
-
width: 24px;
|
|
5041
|
-
height: 24px;
|
|
5042
|
-
border-width: 3px;
|
|
5043
|
-
}
|
|
5044
|
-
|
|
5045
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
5046
|
-
|
|
5047
|
-
.muka-spinner__sr-label {
|
|
5048
|
-
position: absolute;
|
|
5049
|
-
width: 1px;
|
|
5050
|
-
height: 1px;
|
|
5051
|
-
padding: 0;
|
|
5052
|
-
margin: -1px;
|
|
5053
|
-
overflow: hidden;
|
|
5054
|
-
clip: rect(0, 0, 0, 0);
|
|
5055
|
-
white-space: nowrap;
|
|
5056
|
-
border: 0;
|
|
5057
|
-
}
|
|
5058
|
-
|
|
5059
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
5060
|
-
|
|
5061
|
-
@keyframes muka-spinner-rotate {
|
|
5062
|
-
to {
|
|
5063
|
-
transform: rotate(360deg);
|
|
5064
|
-
}
|
|
5065
|
-
}
|
|
5066
|
-
|
|
5067
|
-
@media (prefers-reduced-motion: reduce) {
|
|
5068
|
-
.muka-spinner__circle {
|
|
5069
|
-
animation-duration: 2.5s;
|
|
5070
|
-
}
|
|
5071
|
-
}
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
4888
|
/* SmsOtpField */
|
|
5075
4889
|
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5076
4890
|
|
|
@@ -6731,6 +6545,22 @@ body {
|
|
|
6731
6545
|
padding-bottom: var(--spacing-7);
|
|
6732
6546
|
}
|
|
6733
6547
|
|
|
6548
|
+
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
6549
|
+
padding leaves room for the first and last labels, which hang past their
|
|
6550
|
+
indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
|
|
6551
|
+
.muka-progress-tracker--scrollable {
|
|
6552
|
+
overflow-x: auto;
|
|
6553
|
+
overflow-y: hidden;
|
|
6554
|
+
-webkit-overflow-scrolling: touch;
|
|
6555
|
+
scrollbar-width: none;
|
|
6556
|
+
padding-inline: var(--spacing-12);
|
|
6557
|
+
box-sizing: border-box;
|
|
6558
|
+
}
|
|
6559
|
+
|
|
6560
|
+
.muka-progress-tracker--scrollable::-webkit-scrollbar {
|
|
6561
|
+
display: none;
|
|
6562
|
+
}
|
|
6563
|
+
|
|
6734
6564
|
/* ─── Track (layered container) ─────────────────────────── */
|
|
6735
6565
|
.muka-progress-tracker--horizontal .muka-progress-tracker__track {
|
|
6736
6566
|
position: relative;
|
|
@@ -16238,3 +16068,189 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16238
16068
|
border-bottom: none;
|
|
16239
16069
|
}
|
|
16240
16070
|
|
|
16071
|
+
|
|
16072
|
+
/* SwipeActions */
|
|
16073
|
+
/* SwipeActions Component Styles */
|
|
16074
|
+
|
|
16075
|
+
.muka-swipe-actions {
|
|
16076
|
+
position: relative;
|
|
16077
|
+
overflow: hidden;
|
|
16078
|
+
touch-action: pan-y;
|
|
16079
|
+
-webkit-user-select: none;
|
|
16080
|
+
user-select: none;
|
|
16081
|
+
background-color: var(--color-surface-level3);
|
|
16082
|
+
}
|
|
16083
|
+
|
|
16084
|
+
.muka-swipe-actions--disabled {
|
|
16085
|
+
touch-action: auto;
|
|
16086
|
+
}
|
|
16087
|
+
|
|
16088
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
16089
|
+
|
|
16090
|
+
.muka-swipe-actions__row {
|
|
16091
|
+
position: relative;
|
|
16092
|
+
z-index: 1;
|
|
16093
|
+
background-color: inherit;
|
|
16094
|
+
will-change: transform;
|
|
16095
|
+
}
|
|
16096
|
+
|
|
16097
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
16098
|
+
|
|
16099
|
+
.muka-swipe-actions__panel {
|
|
16100
|
+
position: absolute;
|
|
16101
|
+
top: 0;
|
|
16102
|
+
bottom: 0;
|
|
16103
|
+
display: flex;
|
|
16104
|
+
align-items: stretch;
|
|
16105
|
+
z-index: 0;
|
|
16106
|
+
}
|
|
16107
|
+
|
|
16108
|
+
.muka-swipe-actions__panel--left {
|
|
16109
|
+
left: 0;
|
|
16110
|
+
}
|
|
16111
|
+
|
|
16112
|
+
.muka-swipe-actions__panel--right {
|
|
16113
|
+
right: 0;
|
|
16114
|
+
}
|
|
16115
|
+
|
|
16116
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
16117
|
+
|
|
16118
|
+
.muka-swipe-actions__button {
|
|
16119
|
+
display: flex;
|
|
16120
|
+
flex-direction: column;
|
|
16121
|
+
align-items: center;
|
|
16122
|
+
justify-content: center;
|
|
16123
|
+
gap: var(--spacing-1);
|
|
16124
|
+
border: none;
|
|
16125
|
+
cursor: pointer;
|
|
16126
|
+
padding: var(--spacing-2);
|
|
16127
|
+
background-color: var(--color-surface-level2);
|
|
16128
|
+
color: var(--color-text-default-default);
|
|
16129
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16130
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16131
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16132
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16133
|
+
-webkit-tap-highlight-color: transparent;
|
|
16134
|
+
transition: filter 0.12s ease;
|
|
16135
|
+
}
|
|
16136
|
+
|
|
16137
|
+
.muka-swipe-actions__button:hover {
|
|
16138
|
+
filter: brightness(0.95);
|
|
16139
|
+
}
|
|
16140
|
+
|
|
16141
|
+
.muka-swipe-actions__button:focus-visible {
|
|
16142
|
+
outline: 2px solid var(--color-action-default);
|
|
16143
|
+
outline-offset: -2px;
|
|
16144
|
+
}
|
|
16145
|
+
|
|
16146
|
+
.muka-swipe-actions__button-icon {
|
|
16147
|
+
display: inline-flex;
|
|
16148
|
+
align-items: center;
|
|
16149
|
+
justify-content: center;
|
|
16150
|
+
}
|
|
16151
|
+
|
|
16152
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
16153
|
+
|
|
16154
|
+
.muka-swipe-actions__button--neutral {
|
|
16155
|
+
background-color: var(--color-surface-level2);
|
|
16156
|
+
color: var(--color-text-default-default);
|
|
16157
|
+
}
|
|
16158
|
+
|
|
16159
|
+
.muka-swipe-actions__button--primary {
|
|
16160
|
+
background-color: var(--color-action-default);
|
|
16161
|
+
color: var(--color-text-default-inverse);
|
|
16162
|
+
}
|
|
16163
|
+
|
|
16164
|
+
.muka-swipe-actions__button--success {
|
|
16165
|
+
background-color: var(--color-state-success-default);
|
|
16166
|
+
color: var(--color-text-default-inverse);
|
|
16167
|
+
}
|
|
16168
|
+
|
|
16169
|
+
.muka-swipe-actions__button--warning {
|
|
16170
|
+
background-color: var(--color-state-warning-default);
|
|
16171
|
+
color: var(--color-text-default-default);
|
|
16172
|
+
}
|
|
16173
|
+
|
|
16174
|
+
.muka-swipe-actions__button--destructive {
|
|
16175
|
+
background-color: var(--color-state-error-default);
|
|
16176
|
+
color: var(--color-text-default-inverse);
|
|
16177
|
+
}
|
|
16178
|
+
|
|
16179
|
+
|
|
16180
|
+
/* Spinner */
|
|
16181
|
+
/* Spinner Component Styles */
|
|
16182
|
+
|
|
16183
|
+
.muka-spinner {
|
|
16184
|
+
display: inline-flex;
|
|
16185
|
+
align-items: center;
|
|
16186
|
+
justify-content: center;
|
|
16187
|
+
color: var(--color-text-default-default);
|
|
16188
|
+
line-height: 0;
|
|
16189
|
+
}
|
|
16190
|
+
|
|
16191
|
+
.muka-spinner--subtle {
|
|
16192
|
+
color: var(--color-text-subtle-default);
|
|
16193
|
+
}
|
|
16194
|
+
|
|
16195
|
+
.muka-spinner--inverse {
|
|
16196
|
+
color: var(--color-text-default-inverse);
|
|
16197
|
+
}
|
|
16198
|
+
|
|
16199
|
+
.muka-spinner__circle {
|
|
16200
|
+
display: inline-block;
|
|
16201
|
+
border-radius: 50%;
|
|
16202
|
+
border-style: solid;
|
|
16203
|
+
border-color: currentColor;
|
|
16204
|
+
border-right-color: transparent;
|
|
16205
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
16206
|
+
box-sizing: border-box;
|
|
16207
|
+
}
|
|
16208
|
+
|
|
16209
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
16210
|
+
|
|
16211
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
16212
|
+
width: 16px;
|
|
16213
|
+
height: 16px;
|
|
16214
|
+
border-width: 2px;
|
|
16215
|
+
}
|
|
16216
|
+
|
|
16217
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
16218
|
+
width: 20px;
|
|
16219
|
+
height: 20px;
|
|
16220
|
+
border-width: 2px;
|
|
16221
|
+
}
|
|
16222
|
+
|
|
16223
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
16224
|
+
width: 24px;
|
|
16225
|
+
height: 24px;
|
|
16226
|
+
border-width: 3px;
|
|
16227
|
+
}
|
|
16228
|
+
|
|
16229
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
16230
|
+
|
|
16231
|
+
.muka-spinner__sr-label {
|
|
16232
|
+
position: absolute;
|
|
16233
|
+
width: 1px;
|
|
16234
|
+
height: 1px;
|
|
16235
|
+
padding: 0;
|
|
16236
|
+
margin: -1px;
|
|
16237
|
+
overflow: hidden;
|
|
16238
|
+
clip: rect(0, 0, 0, 0);
|
|
16239
|
+
white-space: nowrap;
|
|
16240
|
+
border: 0;
|
|
16241
|
+
}
|
|
16242
|
+
|
|
16243
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
16244
|
+
|
|
16245
|
+
@keyframes muka-spinner-rotate {
|
|
16246
|
+
to {
|
|
16247
|
+
transform: rotate(360deg);
|
|
16248
|
+
}
|
|
16249
|
+
}
|
|
16250
|
+
|
|
16251
|
+
@media (prefers-reduced-motion: reduce) {
|
|
16252
|
+
.muka-spinner__circle {
|
|
16253
|
+
animation-duration: 2.5s;
|
|
16254
|
+
}
|
|
16255
|
+
}
|
|
16256
|
+
|