@revikornmann/muka-ui 0.2.1 → 0.2.2
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/styles/index.css +57 -57
- package/dist/styles/muka-dark.css +57 -57
- package/dist/styles/muka-light.css +57 -57
- package/dist/styles/wireframe-dark.css +57 -57
- package/dist/styles/wireframe-light.css +57 -57
- package/package.json +1 -1
- package/skills/setup-muka/SKILL.md +6 -3
- package/templates/update-muka.yml +26 -5
package/dist/styles/index.css
CHANGED
|
@@ -8221,6 +8221,33 @@ li.muka-listitem {
|
|
|
8221
8221
|
}
|
|
8222
8222
|
|
|
8223
8223
|
|
|
8224
|
+
/* Divider */
|
|
8225
|
+
/* Divider Component Styles - Using Muka Design Tokens */
|
|
8226
|
+
|
|
8227
|
+
.muka-divider {
|
|
8228
|
+
flex-shrink: 0;
|
|
8229
|
+
}
|
|
8230
|
+
|
|
8231
|
+
.muka-divider--horizontal {
|
|
8232
|
+
width: 100%;
|
|
8233
|
+
height: var(--separator-width);
|
|
8234
|
+
}
|
|
8235
|
+
|
|
8236
|
+
.muka-divider--vertical {
|
|
8237
|
+
height: 100%;
|
|
8238
|
+
width: var(--separator-width);
|
|
8239
|
+
align-self: stretch;
|
|
8240
|
+
}
|
|
8241
|
+
|
|
8242
|
+
.muka-divider--default {
|
|
8243
|
+
background-color: var(--separator-color-default);
|
|
8244
|
+
}
|
|
8245
|
+
|
|
8246
|
+
.muka-divider--contrast {
|
|
8247
|
+
background-color: var(--separator-color-contrast);
|
|
8248
|
+
}
|
|
8249
|
+
|
|
8250
|
+
|
|
8224
8251
|
/* Dialog */
|
|
8225
8252
|
/* Dialog Component Styles */
|
|
8226
8253
|
|
|
@@ -8520,30 +8547,47 @@ li.muka-listitem {
|
|
|
8520
8547
|
}
|
|
8521
8548
|
|
|
8522
8549
|
|
|
8523
|
-
/*
|
|
8524
|
-
/*
|
|
8550
|
+
/* DataPieChart */
|
|
8551
|
+
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8525
8552
|
|
|
8526
|
-
.muka-
|
|
8553
|
+
.muka-data-pie-chart {
|
|
8554
|
+
position: relative;
|
|
8555
|
+
display: inline-flex;
|
|
8556
|
+
align-items: center;
|
|
8557
|
+
justify-content: center;
|
|
8527
8558
|
flex-shrink: 0;
|
|
8528
8559
|
}
|
|
8529
8560
|
|
|
8530
|
-
.muka-
|
|
8561
|
+
.muka-data-pie-chart__svg {
|
|
8562
|
+
display: block;
|
|
8531
8563
|
width: 100%;
|
|
8532
|
-
height:
|
|
8564
|
+
height: 100%;
|
|
8565
|
+
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8566
|
+
transform: rotate(-90deg);
|
|
8533
8567
|
}
|
|
8534
8568
|
|
|
8535
|
-
.muka-
|
|
8536
|
-
|
|
8537
|
-
width: var(--separator-width);
|
|
8538
|
-
align-self: stretch;
|
|
8569
|
+
.muka-data-pie-chart__track {
|
|
8570
|
+
fill: none;
|
|
8539
8571
|
}
|
|
8540
8572
|
|
|
8541
|
-
.muka-
|
|
8542
|
-
|
|
8573
|
+
.muka-data-pie-chart__segment {
|
|
8574
|
+
fill: none;
|
|
8575
|
+
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8576
|
+
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8577
|
+
transition: stroke-dasharray 0.3s ease;
|
|
8543
8578
|
}
|
|
8544
8579
|
|
|
8545
|
-
.muka-
|
|
8546
|
-
|
|
8580
|
+
.muka-data-pie-chart__value {
|
|
8581
|
+
position: absolute;
|
|
8582
|
+
inset: 0;
|
|
8583
|
+
display: flex;
|
|
8584
|
+
align-items: center;
|
|
8585
|
+
justify-content: center;
|
|
8586
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
8587
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8588
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
8589
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
8590
|
+
color: var(--color-text-default-default);
|
|
8547
8591
|
}
|
|
8548
8592
|
|
|
8549
8593
|
|
|
@@ -8715,50 +8759,6 @@ li.muka-listitem {
|
|
|
8715
8759
|
}
|
|
8716
8760
|
|
|
8717
8761
|
|
|
8718
|
-
/* DataPieChart */
|
|
8719
|
-
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8720
|
-
|
|
8721
|
-
.muka-data-pie-chart {
|
|
8722
|
-
position: relative;
|
|
8723
|
-
display: inline-flex;
|
|
8724
|
-
align-items: center;
|
|
8725
|
-
justify-content: center;
|
|
8726
|
-
flex-shrink: 0;
|
|
8727
|
-
}
|
|
8728
|
-
|
|
8729
|
-
.muka-data-pie-chart__svg {
|
|
8730
|
-
display: block;
|
|
8731
|
-
width: 100%;
|
|
8732
|
-
height: 100%;
|
|
8733
|
-
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8734
|
-
transform: rotate(-90deg);
|
|
8735
|
-
}
|
|
8736
|
-
|
|
8737
|
-
.muka-data-pie-chart__track {
|
|
8738
|
-
fill: none;
|
|
8739
|
-
}
|
|
8740
|
-
|
|
8741
|
-
.muka-data-pie-chart__segment {
|
|
8742
|
-
fill: none;
|
|
8743
|
-
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8744
|
-
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8745
|
-
transition: stroke-dasharray 0.3s ease;
|
|
8746
|
-
}
|
|
8747
|
-
|
|
8748
|
-
.muka-data-pie-chart__value {
|
|
8749
|
-
position: absolute;
|
|
8750
|
-
inset: 0;
|
|
8751
|
-
display: flex;
|
|
8752
|
-
align-items: center;
|
|
8753
|
-
justify-content: center;
|
|
8754
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
8755
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8756
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
8757
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
8758
|
-
color: var(--color-text-default-default);
|
|
8759
|
-
}
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
8762
|
/* Container */
|
|
8763
8763
|
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
8764
8764
|
|
|
@@ -8220,6 +8220,33 @@ li.muka-listitem {
|
|
|
8220
8220
|
}
|
|
8221
8221
|
|
|
8222
8222
|
|
|
8223
|
+
/* Divider */
|
|
8224
|
+
/* Divider Component Styles - Using Muka Design Tokens */
|
|
8225
|
+
|
|
8226
|
+
.muka-divider {
|
|
8227
|
+
flex-shrink: 0;
|
|
8228
|
+
}
|
|
8229
|
+
|
|
8230
|
+
.muka-divider--horizontal {
|
|
8231
|
+
width: 100%;
|
|
8232
|
+
height: var(--separator-width);
|
|
8233
|
+
}
|
|
8234
|
+
|
|
8235
|
+
.muka-divider--vertical {
|
|
8236
|
+
height: 100%;
|
|
8237
|
+
width: var(--separator-width);
|
|
8238
|
+
align-self: stretch;
|
|
8239
|
+
}
|
|
8240
|
+
|
|
8241
|
+
.muka-divider--default {
|
|
8242
|
+
background-color: var(--separator-color-default);
|
|
8243
|
+
}
|
|
8244
|
+
|
|
8245
|
+
.muka-divider--contrast {
|
|
8246
|
+
background-color: var(--separator-color-contrast);
|
|
8247
|
+
}
|
|
8248
|
+
|
|
8249
|
+
|
|
8223
8250
|
/* Dialog */
|
|
8224
8251
|
/* Dialog Component Styles */
|
|
8225
8252
|
|
|
@@ -8519,30 +8546,47 @@ li.muka-listitem {
|
|
|
8519
8546
|
}
|
|
8520
8547
|
|
|
8521
8548
|
|
|
8522
|
-
/*
|
|
8523
|
-
/*
|
|
8549
|
+
/* DataPieChart */
|
|
8550
|
+
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8524
8551
|
|
|
8525
|
-
.muka-
|
|
8552
|
+
.muka-data-pie-chart {
|
|
8553
|
+
position: relative;
|
|
8554
|
+
display: inline-flex;
|
|
8555
|
+
align-items: center;
|
|
8556
|
+
justify-content: center;
|
|
8526
8557
|
flex-shrink: 0;
|
|
8527
8558
|
}
|
|
8528
8559
|
|
|
8529
|
-
.muka-
|
|
8560
|
+
.muka-data-pie-chart__svg {
|
|
8561
|
+
display: block;
|
|
8530
8562
|
width: 100%;
|
|
8531
|
-
height:
|
|
8563
|
+
height: 100%;
|
|
8564
|
+
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8565
|
+
transform: rotate(-90deg);
|
|
8532
8566
|
}
|
|
8533
8567
|
|
|
8534
|
-
.muka-
|
|
8535
|
-
|
|
8536
|
-
width: var(--separator-width);
|
|
8537
|
-
align-self: stretch;
|
|
8568
|
+
.muka-data-pie-chart__track {
|
|
8569
|
+
fill: none;
|
|
8538
8570
|
}
|
|
8539
8571
|
|
|
8540
|
-
.muka-
|
|
8541
|
-
|
|
8572
|
+
.muka-data-pie-chart__segment {
|
|
8573
|
+
fill: none;
|
|
8574
|
+
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8575
|
+
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8576
|
+
transition: stroke-dasharray 0.3s ease;
|
|
8542
8577
|
}
|
|
8543
8578
|
|
|
8544
|
-
.muka-
|
|
8545
|
-
|
|
8579
|
+
.muka-data-pie-chart__value {
|
|
8580
|
+
position: absolute;
|
|
8581
|
+
inset: 0;
|
|
8582
|
+
display: flex;
|
|
8583
|
+
align-items: center;
|
|
8584
|
+
justify-content: center;
|
|
8585
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
8586
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8587
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
8588
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
8589
|
+
color: var(--color-text-default-default);
|
|
8546
8590
|
}
|
|
8547
8591
|
|
|
8548
8592
|
|
|
@@ -8714,50 +8758,6 @@ li.muka-listitem {
|
|
|
8714
8758
|
}
|
|
8715
8759
|
|
|
8716
8760
|
|
|
8717
|
-
/* DataPieChart */
|
|
8718
|
-
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8719
|
-
|
|
8720
|
-
.muka-data-pie-chart {
|
|
8721
|
-
position: relative;
|
|
8722
|
-
display: inline-flex;
|
|
8723
|
-
align-items: center;
|
|
8724
|
-
justify-content: center;
|
|
8725
|
-
flex-shrink: 0;
|
|
8726
|
-
}
|
|
8727
|
-
|
|
8728
|
-
.muka-data-pie-chart__svg {
|
|
8729
|
-
display: block;
|
|
8730
|
-
width: 100%;
|
|
8731
|
-
height: 100%;
|
|
8732
|
-
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8733
|
-
transform: rotate(-90deg);
|
|
8734
|
-
}
|
|
8735
|
-
|
|
8736
|
-
.muka-data-pie-chart__track {
|
|
8737
|
-
fill: none;
|
|
8738
|
-
}
|
|
8739
|
-
|
|
8740
|
-
.muka-data-pie-chart__segment {
|
|
8741
|
-
fill: none;
|
|
8742
|
-
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8743
|
-
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8744
|
-
transition: stroke-dasharray 0.3s ease;
|
|
8745
|
-
}
|
|
8746
|
-
|
|
8747
|
-
.muka-data-pie-chart__value {
|
|
8748
|
-
position: absolute;
|
|
8749
|
-
inset: 0;
|
|
8750
|
-
display: flex;
|
|
8751
|
-
align-items: center;
|
|
8752
|
-
justify-content: center;
|
|
8753
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
8754
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8755
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
8756
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
8757
|
-
color: var(--color-text-default-default);
|
|
8758
|
-
}
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
8761
|
/* Container */
|
|
8762
8762
|
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
8763
8763
|
|
|
@@ -8220,6 +8220,33 @@ li.muka-listitem {
|
|
|
8220
8220
|
}
|
|
8221
8221
|
|
|
8222
8222
|
|
|
8223
|
+
/* Divider */
|
|
8224
|
+
/* Divider Component Styles - Using Muka Design Tokens */
|
|
8225
|
+
|
|
8226
|
+
.muka-divider {
|
|
8227
|
+
flex-shrink: 0;
|
|
8228
|
+
}
|
|
8229
|
+
|
|
8230
|
+
.muka-divider--horizontal {
|
|
8231
|
+
width: 100%;
|
|
8232
|
+
height: var(--separator-width);
|
|
8233
|
+
}
|
|
8234
|
+
|
|
8235
|
+
.muka-divider--vertical {
|
|
8236
|
+
height: 100%;
|
|
8237
|
+
width: var(--separator-width);
|
|
8238
|
+
align-self: stretch;
|
|
8239
|
+
}
|
|
8240
|
+
|
|
8241
|
+
.muka-divider--default {
|
|
8242
|
+
background-color: var(--separator-color-default);
|
|
8243
|
+
}
|
|
8244
|
+
|
|
8245
|
+
.muka-divider--contrast {
|
|
8246
|
+
background-color: var(--separator-color-contrast);
|
|
8247
|
+
}
|
|
8248
|
+
|
|
8249
|
+
|
|
8223
8250
|
/* Dialog */
|
|
8224
8251
|
/* Dialog Component Styles */
|
|
8225
8252
|
|
|
@@ -8519,30 +8546,47 @@ li.muka-listitem {
|
|
|
8519
8546
|
}
|
|
8520
8547
|
|
|
8521
8548
|
|
|
8522
|
-
/*
|
|
8523
|
-
/*
|
|
8549
|
+
/* DataPieChart */
|
|
8550
|
+
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8524
8551
|
|
|
8525
|
-
.muka-
|
|
8552
|
+
.muka-data-pie-chart {
|
|
8553
|
+
position: relative;
|
|
8554
|
+
display: inline-flex;
|
|
8555
|
+
align-items: center;
|
|
8556
|
+
justify-content: center;
|
|
8526
8557
|
flex-shrink: 0;
|
|
8527
8558
|
}
|
|
8528
8559
|
|
|
8529
|
-
.muka-
|
|
8560
|
+
.muka-data-pie-chart__svg {
|
|
8561
|
+
display: block;
|
|
8530
8562
|
width: 100%;
|
|
8531
|
-
height:
|
|
8563
|
+
height: 100%;
|
|
8564
|
+
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8565
|
+
transform: rotate(-90deg);
|
|
8532
8566
|
}
|
|
8533
8567
|
|
|
8534
|
-
.muka-
|
|
8535
|
-
|
|
8536
|
-
width: var(--separator-width);
|
|
8537
|
-
align-self: stretch;
|
|
8568
|
+
.muka-data-pie-chart__track {
|
|
8569
|
+
fill: none;
|
|
8538
8570
|
}
|
|
8539
8571
|
|
|
8540
|
-
.muka-
|
|
8541
|
-
|
|
8572
|
+
.muka-data-pie-chart__segment {
|
|
8573
|
+
fill: none;
|
|
8574
|
+
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8575
|
+
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8576
|
+
transition: stroke-dasharray 0.3s ease;
|
|
8542
8577
|
}
|
|
8543
8578
|
|
|
8544
|
-
.muka-
|
|
8545
|
-
|
|
8579
|
+
.muka-data-pie-chart__value {
|
|
8580
|
+
position: absolute;
|
|
8581
|
+
inset: 0;
|
|
8582
|
+
display: flex;
|
|
8583
|
+
align-items: center;
|
|
8584
|
+
justify-content: center;
|
|
8585
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
8586
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8587
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
8588
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
8589
|
+
color: var(--color-text-default-default);
|
|
8546
8590
|
}
|
|
8547
8591
|
|
|
8548
8592
|
|
|
@@ -8714,50 +8758,6 @@ li.muka-listitem {
|
|
|
8714
8758
|
}
|
|
8715
8759
|
|
|
8716
8760
|
|
|
8717
|
-
/* DataPieChart */
|
|
8718
|
-
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8719
|
-
|
|
8720
|
-
.muka-data-pie-chart {
|
|
8721
|
-
position: relative;
|
|
8722
|
-
display: inline-flex;
|
|
8723
|
-
align-items: center;
|
|
8724
|
-
justify-content: center;
|
|
8725
|
-
flex-shrink: 0;
|
|
8726
|
-
}
|
|
8727
|
-
|
|
8728
|
-
.muka-data-pie-chart__svg {
|
|
8729
|
-
display: block;
|
|
8730
|
-
width: 100%;
|
|
8731
|
-
height: 100%;
|
|
8732
|
-
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8733
|
-
transform: rotate(-90deg);
|
|
8734
|
-
}
|
|
8735
|
-
|
|
8736
|
-
.muka-data-pie-chart__track {
|
|
8737
|
-
fill: none;
|
|
8738
|
-
}
|
|
8739
|
-
|
|
8740
|
-
.muka-data-pie-chart__segment {
|
|
8741
|
-
fill: none;
|
|
8742
|
-
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8743
|
-
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8744
|
-
transition: stroke-dasharray 0.3s ease;
|
|
8745
|
-
}
|
|
8746
|
-
|
|
8747
|
-
.muka-data-pie-chart__value {
|
|
8748
|
-
position: absolute;
|
|
8749
|
-
inset: 0;
|
|
8750
|
-
display: flex;
|
|
8751
|
-
align-items: center;
|
|
8752
|
-
justify-content: center;
|
|
8753
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
8754
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8755
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
8756
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
8757
|
-
color: var(--color-text-default-default);
|
|
8758
|
-
}
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
8761
|
/* Container */
|
|
8762
8762
|
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
8763
8763
|
|
|
@@ -8220,6 +8220,33 @@ li.muka-listitem {
|
|
|
8220
8220
|
}
|
|
8221
8221
|
|
|
8222
8222
|
|
|
8223
|
+
/* Divider */
|
|
8224
|
+
/* Divider Component Styles - Using Muka Design Tokens */
|
|
8225
|
+
|
|
8226
|
+
.muka-divider {
|
|
8227
|
+
flex-shrink: 0;
|
|
8228
|
+
}
|
|
8229
|
+
|
|
8230
|
+
.muka-divider--horizontal {
|
|
8231
|
+
width: 100%;
|
|
8232
|
+
height: var(--separator-width);
|
|
8233
|
+
}
|
|
8234
|
+
|
|
8235
|
+
.muka-divider--vertical {
|
|
8236
|
+
height: 100%;
|
|
8237
|
+
width: var(--separator-width);
|
|
8238
|
+
align-self: stretch;
|
|
8239
|
+
}
|
|
8240
|
+
|
|
8241
|
+
.muka-divider--default {
|
|
8242
|
+
background-color: var(--separator-color-default);
|
|
8243
|
+
}
|
|
8244
|
+
|
|
8245
|
+
.muka-divider--contrast {
|
|
8246
|
+
background-color: var(--separator-color-contrast);
|
|
8247
|
+
}
|
|
8248
|
+
|
|
8249
|
+
|
|
8223
8250
|
/* Dialog */
|
|
8224
8251
|
/* Dialog Component Styles */
|
|
8225
8252
|
|
|
@@ -8519,30 +8546,47 @@ li.muka-listitem {
|
|
|
8519
8546
|
}
|
|
8520
8547
|
|
|
8521
8548
|
|
|
8522
|
-
/*
|
|
8523
|
-
/*
|
|
8549
|
+
/* DataPieChart */
|
|
8550
|
+
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8524
8551
|
|
|
8525
|
-
.muka-
|
|
8552
|
+
.muka-data-pie-chart {
|
|
8553
|
+
position: relative;
|
|
8554
|
+
display: inline-flex;
|
|
8555
|
+
align-items: center;
|
|
8556
|
+
justify-content: center;
|
|
8526
8557
|
flex-shrink: 0;
|
|
8527
8558
|
}
|
|
8528
8559
|
|
|
8529
|
-
.muka-
|
|
8560
|
+
.muka-data-pie-chart__svg {
|
|
8561
|
+
display: block;
|
|
8530
8562
|
width: 100%;
|
|
8531
|
-
height:
|
|
8563
|
+
height: 100%;
|
|
8564
|
+
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8565
|
+
transform: rotate(-90deg);
|
|
8532
8566
|
}
|
|
8533
8567
|
|
|
8534
|
-
.muka-
|
|
8535
|
-
|
|
8536
|
-
width: var(--separator-width);
|
|
8537
|
-
align-self: stretch;
|
|
8568
|
+
.muka-data-pie-chart__track {
|
|
8569
|
+
fill: none;
|
|
8538
8570
|
}
|
|
8539
8571
|
|
|
8540
|
-
.muka-
|
|
8541
|
-
|
|
8572
|
+
.muka-data-pie-chart__segment {
|
|
8573
|
+
fill: none;
|
|
8574
|
+
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8575
|
+
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8576
|
+
transition: stroke-dasharray 0.3s ease;
|
|
8542
8577
|
}
|
|
8543
8578
|
|
|
8544
|
-
.muka-
|
|
8545
|
-
|
|
8579
|
+
.muka-data-pie-chart__value {
|
|
8580
|
+
position: absolute;
|
|
8581
|
+
inset: 0;
|
|
8582
|
+
display: flex;
|
|
8583
|
+
align-items: center;
|
|
8584
|
+
justify-content: center;
|
|
8585
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
8586
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8587
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
8588
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
8589
|
+
color: var(--color-text-default-default);
|
|
8546
8590
|
}
|
|
8547
8591
|
|
|
8548
8592
|
|
|
@@ -8714,50 +8758,6 @@ li.muka-listitem {
|
|
|
8714
8758
|
}
|
|
8715
8759
|
|
|
8716
8760
|
|
|
8717
|
-
/* DataPieChart */
|
|
8718
|
-
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8719
|
-
|
|
8720
|
-
.muka-data-pie-chart {
|
|
8721
|
-
position: relative;
|
|
8722
|
-
display: inline-flex;
|
|
8723
|
-
align-items: center;
|
|
8724
|
-
justify-content: center;
|
|
8725
|
-
flex-shrink: 0;
|
|
8726
|
-
}
|
|
8727
|
-
|
|
8728
|
-
.muka-data-pie-chart__svg {
|
|
8729
|
-
display: block;
|
|
8730
|
-
width: 100%;
|
|
8731
|
-
height: 100%;
|
|
8732
|
-
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8733
|
-
transform: rotate(-90deg);
|
|
8734
|
-
}
|
|
8735
|
-
|
|
8736
|
-
.muka-data-pie-chart__track {
|
|
8737
|
-
fill: none;
|
|
8738
|
-
}
|
|
8739
|
-
|
|
8740
|
-
.muka-data-pie-chart__segment {
|
|
8741
|
-
fill: none;
|
|
8742
|
-
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8743
|
-
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8744
|
-
transition: stroke-dasharray 0.3s ease;
|
|
8745
|
-
}
|
|
8746
|
-
|
|
8747
|
-
.muka-data-pie-chart__value {
|
|
8748
|
-
position: absolute;
|
|
8749
|
-
inset: 0;
|
|
8750
|
-
display: flex;
|
|
8751
|
-
align-items: center;
|
|
8752
|
-
justify-content: center;
|
|
8753
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
8754
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8755
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
8756
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
8757
|
-
color: var(--color-text-default-default);
|
|
8758
|
-
}
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
8761
|
/* Container */
|
|
8762
8762
|
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
8763
8763
|
|
|
@@ -8220,6 +8220,33 @@ li.muka-listitem {
|
|
|
8220
8220
|
}
|
|
8221
8221
|
|
|
8222
8222
|
|
|
8223
|
+
/* Divider */
|
|
8224
|
+
/* Divider Component Styles - Using Muka Design Tokens */
|
|
8225
|
+
|
|
8226
|
+
.muka-divider {
|
|
8227
|
+
flex-shrink: 0;
|
|
8228
|
+
}
|
|
8229
|
+
|
|
8230
|
+
.muka-divider--horizontal {
|
|
8231
|
+
width: 100%;
|
|
8232
|
+
height: var(--separator-width);
|
|
8233
|
+
}
|
|
8234
|
+
|
|
8235
|
+
.muka-divider--vertical {
|
|
8236
|
+
height: 100%;
|
|
8237
|
+
width: var(--separator-width);
|
|
8238
|
+
align-self: stretch;
|
|
8239
|
+
}
|
|
8240
|
+
|
|
8241
|
+
.muka-divider--default {
|
|
8242
|
+
background-color: var(--separator-color-default);
|
|
8243
|
+
}
|
|
8244
|
+
|
|
8245
|
+
.muka-divider--contrast {
|
|
8246
|
+
background-color: var(--separator-color-contrast);
|
|
8247
|
+
}
|
|
8248
|
+
|
|
8249
|
+
|
|
8223
8250
|
/* Dialog */
|
|
8224
8251
|
/* Dialog Component Styles */
|
|
8225
8252
|
|
|
@@ -8519,30 +8546,47 @@ li.muka-listitem {
|
|
|
8519
8546
|
}
|
|
8520
8547
|
|
|
8521
8548
|
|
|
8522
|
-
/*
|
|
8523
|
-
/*
|
|
8549
|
+
/* DataPieChart */
|
|
8550
|
+
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8524
8551
|
|
|
8525
|
-
.muka-
|
|
8552
|
+
.muka-data-pie-chart {
|
|
8553
|
+
position: relative;
|
|
8554
|
+
display: inline-flex;
|
|
8555
|
+
align-items: center;
|
|
8556
|
+
justify-content: center;
|
|
8526
8557
|
flex-shrink: 0;
|
|
8527
8558
|
}
|
|
8528
8559
|
|
|
8529
|
-
.muka-
|
|
8560
|
+
.muka-data-pie-chart__svg {
|
|
8561
|
+
display: block;
|
|
8530
8562
|
width: 100%;
|
|
8531
|
-
height:
|
|
8563
|
+
height: 100%;
|
|
8564
|
+
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8565
|
+
transform: rotate(-90deg);
|
|
8532
8566
|
}
|
|
8533
8567
|
|
|
8534
|
-
.muka-
|
|
8535
|
-
|
|
8536
|
-
width: var(--separator-width);
|
|
8537
|
-
align-self: stretch;
|
|
8568
|
+
.muka-data-pie-chart__track {
|
|
8569
|
+
fill: none;
|
|
8538
8570
|
}
|
|
8539
8571
|
|
|
8540
|
-
.muka-
|
|
8541
|
-
|
|
8572
|
+
.muka-data-pie-chart__segment {
|
|
8573
|
+
fill: none;
|
|
8574
|
+
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8575
|
+
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8576
|
+
transition: stroke-dasharray 0.3s ease;
|
|
8542
8577
|
}
|
|
8543
8578
|
|
|
8544
|
-
.muka-
|
|
8545
|
-
|
|
8579
|
+
.muka-data-pie-chart__value {
|
|
8580
|
+
position: absolute;
|
|
8581
|
+
inset: 0;
|
|
8582
|
+
display: flex;
|
|
8583
|
+
align-items: center;
|
|
8584
|
+
justify-content: center;
|
|
8585
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
8586
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8587
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
8588
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
8589
|
+
color: var(--color-text-default-default);
|
|
8546
8590
|
}
|
|
8547
8591
|
|
|
8548
8592
|
|
|
@@ -8714,50 +8758,6 @@ li.muka-listitem {
|
|
|
8714
8758
|
}
|
|
8715
8759
|
|
|
8716
8760
|
|
|
8717
|
-
/* DataPieChart */
|
|
8718
|
-
/* DataPieChart Component Styles - Using Muka Design Tokens */
|
|
8719
|
-
|
|
8720
|
-
.muka-data-pie-chart {
|
|
8721
|
-
position: relative;
|
|
8722
|
-
display: inline-flex;
|
|
8723
|
-
align-items: center;
|
|
8724
|
-
justify-content: center;
|
|
8725
|
-
flex-shrink: 0;
|
|
8726
|
-
}
|
|
8727
|
-
|
|
8728
|
-
.muka-data-pie-chart__svg {
|
|
8729
|
-
display: block;
|
|
8730
|
-
width: 100%;
|
|
8731
|
-
height: 100%;
|
|
8732
|
-
/* Start the segment at 12 o'clock instead of 3 o'clock */
|
|
8733
|
-
transform: rotate(-90deg);
|
|
8734
|
-
}
|
|
8735
|
-
|
|
8736
|
-
.muka-data-pie-chart__track {
|
|
8737
|
-
fill: none;
|
|
8738
|
-
}
|
|
8739
|
-
|
|
8740
|
-
.muka-data-pie-chart__segment {
|
|
8741
|
-
fill: none;
|
|
8742
|
-
/* Subtle lift on the filled segment, matching the Figma elevation */
|
|
8743
|
-
filter: drop-shadow(0 2px 4px var(--color-black-alpha-5, rgba(0, 0, 0, 0.05)));
|
|
8744
|
-
transition: stroke-dasharray 0.3s ease;
|
|
8745
|
-
}
|
|
8746
|
-
|
|
8747
|
-
.muka-data-pie-chart__value {
|
|
8748
|
-
position: absolute;
|
|
8749
|
-
inset: 0;
|
|
8750
|
-
display: flex;
|
|
8751
|
-
align-items: center;
|
|
8752
|
-
justify-content: center;
|
|
8753
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
8754
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8755
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
8756
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
8757
|
-
color: var(--color-text-default-default);
|
|
8758
|
-
}
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
8761
|
/* Container */
|
|
8762
8762
|
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
8763
8763
|
|
package/package.json
CHANGED
|
@@ -22,16 +22,19 @@ it and prefer it when present, since it always matches the installed version.
|
|
|
22
22
|
|
|
23
23
|
If a previous git dependency exists (e.g.
|
|
24
24
|
`"@revikornmann/muka-ui": "github:revikornmann/muka#<sha>"`), it is replaced by
|
|
25
|
-
the install below.
|
|
25
|
+
the install below. Use the repo's package manager — check the lockfile first
|
|
26
|
+
(`pnpm-lock.yaml` → pnpm, `yarn.lock` → yarn, otherwise npm):
|
|
26
27
|
|
|
27
28
|
```bash
|
|
28
|
-
npm install @revikornmann/muka-ui@latest --save
|
|
29
|
+
npm install @revikornmann/muka-ui@latest --save # npm
|
|
30
|
+
# pnpm add @revikornmann/muka-ui@latest # pnpm
|
|
31
|
+
# yarn add @revikornmann/muka-ui@latest # yarn
|
|
29
32
|
```
|
|
30
33
|
|
|
31
34
|
Confirm it resolved from npmjs (not a git URL):
|
|
32
35
|
|
|
33
36
|
```bash
|
|
34
|
-
npm ls @revikornmann/muka-ui
|
|
37
|
+
npm ls @revikornmann/muka-ui # or: pnpm why … / yarn why …
|
|
35
38
|
```
|
|
36
39
|
|
|
37
40
|
## Step 2: Import styles and components
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
# bump. Pushing to the default branch lets your host (e.g. Vercel) redeploy.
|
|
12
12
|
#
|
|
13
13
|
# Muka UI is a public npm package, so installing needs no registry config or
|
|
14
|
-
# auth token.
|
|
14
|
+
# auth token. The install step auto-detects your package manager from the
|
|
15
|
+
# lockfile (npm / pnpm / yarn) and commits whichever lockfile changed.
|
|
15
16
|
|
|
16
17
|
name: Update Muka UI
|
|
17
18
|
|
|
@@ -43,19 +44,35 @@ jobs:
|
|
|
43
44
|
uses: actions/setup-node@v4
|
|
44
45
|
with:
|
|
45
46
|
node-version: '20'
|
|
46
|
-
|
|
47
|
+
|
|
48
|
+
- name: Enable corepack (pnpm / yarn shims)
|
|
49
|
+
run: corepack enable
|
|
47
50
|
|
|
48
51
|
- name: Install target Muka version
|
|
49
52
|
# repository_dispatch carries the published version; workflow_dispatch
|
|
50
53
|
# falls back to @latest. Public npm package — no registry config or auth.
|
|
54
|
+
# Auto-detects the package manager from the repo's lockfile.
|
|
55
|
+
env:
|
|
56
|
+
# Don't prompt to download a corepack-managed pnpm/yarn in CI.
|
|
57
|
+
COREPACK_ENABLE_DOWNLOAD_PROMPT: '0'
|
|
51
58
|
run: |
|
|
52
59
|
VERSION="${{ github.event.client_payload.version }}"
|
|
53
|
-
|
|
60
|
+
SPEC="@revikornmann/muka-ui@${VERSION:-latest}"
|
|
61
|
+
if [ -f pnpm-lock.yaml ]; then
|
|
62
|
+
echo "Detected pnpm"
|
|
63
|
+
pnpm add "$SPEC"
|
|
64
|
+
elif [ -f yarn.lock ]; then
|
|
65
|
+
echo "Detected yarn"
|
|
66
|
+
yarn add "$SPEC"
|
|
67
|
+
else
|
|
68
|
+
echo "Detected npm"
|
|
69
|
+
npm install "$SPEC" --save
|
|
70
|
+
fi
|
|
54
71
|
|
|
55
72
|
- name: Check for changes
|
|
56
73
|
id: changes
|
|
57
74
|
run: |
|
|
58
|
-
if git diff --quiet -- package.json package-lock.json; then
|
|
75
|
+
if git diff --quiet -- package.json package-lock.json pnpm-lock.yaml yarn.lock; then
|
|
59
76
|
echo "changed=false" >> "$GITHUB_OUTPUT"
|
|
60
77
|
echo "Already on the target muka version — nothing to update."
|
|
61
78
|
else
|
|
@@ -68,7 +85,11 @@ jobs:
|
|
|
68
85
|
run: |
|
|
69
86
|
git config --local user.email "action@github.com"
|
|
70
87
|
git config --local user.name "GitHub Action"
|
|
71
|
-
|
|
88
|
+
# Stage package.json plus whichever lockfile this repo uses.
|
|
89
|
+
git add package.json
|
|
90
|
+
for lock in package-lock.json pnpm-lock.yaml yarn.lock; do
|
|
91
|
+
[ -f "$lock" ] && git add "$lock"
|
|
92
|
+
done
|
|
72
93
|
git commit -m "⬆️ Update @revikornmann/muka-ui to ${{ github.event.client_payload.version || 'latest' }}
|
|
73
94
|
|
|
74
95
|
Triggered by: ${{ github.event_name }}
|