@vector-business-services/cristal-ds-web 0.8.0 → 0.10.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/index.css CHANGED
@@ -1426,7 +1426,7 @@
1426
1426
  box-sizing: border-box;
1427
1427
  padding: var(--cr-padding-padding-2) var(--cr-padding-padding-5);
1428
1428
  border: var(--cr-stroke-x-small) solid transparent;
1429
- border-radius: var(--cr-radius-x-small);
1429
+ border-radius: var(--cr-radius-small);
1430
1430
  font-family: var(--cr-typography-label-medium-12-semibold-font-family);
1431
1431
  font-size: var(--cr-typography-label-medium-12-semibold-font-size);
1432
1432
  font-weight: var(--cr-typography-label-medium-12-semibold-font-weight);
@@ -1518,6 +1518,7 @@
1518
1518
  }
1519
1519
  .cr-menu-principal--popup {
1520
1520
  position: absolute;
1521
+ max-height: min(672px, calc(100dvh - var(--cr-menu-principal-topo, 0px) - var(--cr-spacing-spacing-3) - var(--cr-padding-padding-8)));
1521
1522
  }
1522
1523
  .cr-menu-principal--popup[style*="transform-origin: center top"] {
1523
1524
  margin-top: var(--cr-spacing-spacing-3);
@@ -1543,7 +1544,7 @@
1543
1544
  background-clip: padding-box;
1544
1545
  background-color: transparent;
1545
1546
  }
1546
- .cr-menu-principal__list:hover::-webkit-scrollbar-thumb {
1547
+ .cr-menu-principal:hover .cr-menu-principal__list::-webkit-scrollbar-thumb {
1547
1548
  background-color: var(--cr-color-fill-neutral-subtle);
1548
1549
  }
1549
1550
  .cr-menu-principal__list::-webkit-scrollbar-thumb:hover {
@@ -1554,7 +1555,7 @@
1554
1555
  scrollbar-width: thin;
1555
1556
  scrollbar-color: transparent transparent;
1556
1557
  }
1557
- .cr-menu-principal__list:hover {
1558
+ .cr-menu-principal:hover .cr-menu-principal__list {
1558
1559
  scrollbar-color: var(--cr-color-fill-neutral-subtle) transparent;
1559
1560
  }
1560
1561
  }
@@ -1645,6 +1646,58 @@
1645
1646
  box-shadow: inset var(--cr-effects-focus-ring);
1646
1647
  }
1647
1648
 
1649
+ /* src/components/Message/Message.css */
1650
+ .cr-message {
1651
+ display: flex;
1652
+ align-items: flex-start;
1653
+ gap: var(--cr-spacing-spacing-4);
1654
+ box-sizing: border-box;
1655
+ padding: var(--cr-padding-padding-5);
1656
+ border-radius: var(--cr-radius-small);
1657
+ background-color: var(--cr-message-bg);
1658
+ color: var(--cr-color-text-neutral-base);
1659
+ }
1660
+ .cr-message__icon {
1661
+ display: inline-flex;
1662
+ flex-shrink: 0;
1663
+ color: var(--cr-message-icon);
1664
+ font-size: 20px;
1665
+ }
1666
+ .cr-message__text {
1667
+ flex: 1;
1668
+ min-width: 0;
1669
+ overflow-wrap: break-word;
1670
+ font-family: var(--cr-typography-body-small-14-regular-font-family);
1671
+ font-size: var(--cr-typography-body-small-14-regular-font-size);
1672
+ font-weight: var(--cr-typography-body-small-14-regular-font-weight);
1673
+ line-height: var(--cr-typography-body-small-14-regular-line-height);
1674
+ letter-spacing: var(--cr-typography-body-small-14-regular-letter-spacing);
1675
+ }
1676
+ .cr-message--info {
1677
+ --cr-message-bg: var(--cr-color-fill-information-subtle);
1678
+ --cr-message-icon: var(--cr-color-icon-information-base);
1679
+ }
1680
+ .cr-message--warning {
1681
+ --cr-message-bg: var(--cr-color-fill-warning-subtle);
1682
+ --cr-message-icon: var(--cr-color-icon-warning-base);
1683
+ }
1684
+ .cr-message--success {
1685
+ --cr-message-bg: var(--cr-color-fill-success-subtle);
1686
+ --cr-message-icon: var(--cr-color-icon-success-base);
1687
+ }
1688
+ .cr-message--danger {
1689
+ --cr-message-bg: var(--cr-color-fill-danger-subtle);
1690
+ --cr-message-icon: var(--cr-color-icon-danger-base);
1691
+ }
1692
+ .cr-message--highlight {
1693
+ --cr-message-bg: var(--cr-color-fill-highlight-subtle);
1694
+ --cr-message-icon: var(--cr-color-icon-highlight-base);
1695
+ }
1696
+ .cr-message--neutral {
1697
+ --cr-message-bg: var(--cr-color-fill-neutral-subtler);
1698
+ --cr-message-icon: var(--cr-color-icon-neutral-base);
1699
+ }
1700
+
1648
1701
  /* src/components/Modal/Modal.css */
1649
1702
  .cr-modal__mask {
1650
1703
  box-sizing: border-box;
@@ -2079,243 +2132,192 @@
2079
2132
  background-color: var(--cr-color-fill-brand-base);
2080
2133
  }
2081
2134
 
2082
- /* src/components/Panel/Panel.css */
2083
- .cr-panel {
2135
+ /* src/components/PageHeader/PageHeader.css */
2136
+ .cr-page-header {
2137
+ container-type: inline-size;
2084
2138
  display: flex;
2085
2139
  flex-direction: column;
2086
- box-sizing: border-box;
2087
- padding: var(--cr-padding-padding-7) var(--cr-padding-padding-7) var(--cr-padding-padding-12);
2088
- border: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
2089
- border-radius: var(--cr-radius-large);
2090
2140
  background-color: var(--cr-color-fill-neutral-container);
2091
2141
  }
2092
- .cr-panel__body,
2093
- .cr-panel__content {
2094
- display: flex;
2095
- flex: 1 0 auto;
2096
- flex-direction: column;
2097
- min-height: 0;
2142
+ .cr-page-header__title-group {
2143
+ display: grid;
2144
+ grid-template-areas: "text tools expand";
2145
+ grid-template-columns: minmax(0, 1fr) auto auto;
2146
+ column-gap: var(--cr-spacing-spacing-3);
2147
+ align-items: center;
2148
+ box-sizing: border-box;
2149
+ min-height: 58px;
2150
+ padding: var(--cr-padding-padding-4) var(--cr-padding-padding-8);
2098
2151
  }
2099
-
2100
- /* src/components/Radio/Radio.css */
2101
- .cr-radio {
2102
- display: inline-flex;
2152
+ .cr-page-header__title-text {
2153
+ display: flex;
2154
+ grid-area: text;
2103
2155
  align-items: center;
2104
2156
  gap: var(--cr-spacing-spacing-4);
2105
- max-width: 100%;
2106
- }
2107
- .cr-radio--label-full {
2108
- align-items: flex-start;
2157
+ min-width: 0;
2109
2158
  }
2110
- .cr-radio__control {
2111
- position: relative;
2159
+ .cr-page-header__title-text > * {
2112
2160
  flex-shrink: 0;
2113
- width: 24px;
2114
- height: 24px;
2115
- }
2116
- .cr-radio__input {
2117
- position: absolute;
2118
- inset: 0;
2119
- z-index: 1;
2120
- width: 100%;
2121
- height: 100%;
2122
- margin: 0;
2123
- opacity: 0;
2124
- cursor: pointer;
2125
- }
2126
- .cr-radio__box {
2127
- box-sizing: border-box;
2128
- width: 100%;
2129
- height: 100%;
2130
- border: var(--cr-stroke-small) solid var(--cr-color-stroke-neutral-bold);
2131
- border-radius: var(--cr-radius-full);
2132
- background-color: var(--cr-color-fill-neutral-container);
2133
- }
2134
- .cr-radio__icon {
2135
- display: none;
2136
- }
2137
- .cr-radio__control[data-p-checked=true] .cr-radio__box {
2138
- border-width: 8px;
2139
- border-color: var(--cr-color-stroke-brand-base);
2140
- }
2141
- .cr-radio:not(.cr-radio--disabled):hover .cr-radio__box {
2142
- border-color: var(--cr-color-stroke-neutral-bold-hover);
2143
- }
2144
- .cr-radio:not(.cr-radio--disabled):hover .cr-radio__control[data-p-checked=true] .cr-radio__box {
2145
- border-color: var(--cr-color-stroke-brand-base-hover);
2146
- }
2147
- .cr-radio__input:focus-visible + .cr-radio__box {
2148
- border-color: var(--cr-color-stroke-brand-base);
2149
- box-shadow: var(--cr-effects-focus-ring);
2150
- }
2151
- .cr-radio--disabled .cr-radio__input {
2152
- cursor: not-allowed;
2153
- }
2154
- .cr-radio--disabled .cr-radio__box,
2155
- .cr-radio--disabled .cr-radio__control[data-p-checked=true] .cr-radio__box {
2156
- border-color: var(--cr-color-stroke-disabled-base);
2157
2161
  }
2158
- .cr-radio__label {
2162
+ .cr-page-header__title {
2163
+ flex-shrink: 1;
2159
2164
  min-width: 0;
2160
- color: var(--cr-color-text-neutral-base);
2161
- font-family: var(--cr-typography-label-large-14-regular-font-family);
2162
- font-size: var(--cr-typography-label-large-14-regular-font-size);
2163
- font-weight: var(--cr-typography-label-large-14-regular-font-weight);
2164
- line-height: var(--cr-typography-label-large-14-regular-line-height);
2165
- letter-spacing: var(--cr-typography-label-large-14-regular-letter-spacing);
2166
- cursor: pointer;
2167
- }
2168
- .cr-radio--label-default .cr-radio__label {
2165
+ margin: 0;
2169
2166
  overflow: hidden;
2167
+ color: var(--cr-color-text-neutral-base);
2168
+ font-family: var(--cr-typography-heading-web-small-font-family);
2169
+ font-size: var(--cr-typography-heading-web-small-font-size);
2170
+ font-weight: var(--cr-typography-heading-web-small-font-weight);
2171
+ line-height: var(--cr-typography-heading-web-small-line-height);
2172
+ letter-spacing: var(--cr-typography-heading-web-small-letter-spacing);
2170
2173
  text-overflow: ellipsis;
2171
2174
  white-space: nowrap;
2172
2175
  }
2173
- .cr-radio--disabled .cr-radio__label {
2174
- color: var(--cr-color-text-disabled-base);
2175
- cursor: not-allowed;
2176
+ .cr-page-header__tools {
2177
+ display: flex;
2178
+ grid-area: tools;
2179
+ align-items: center;
2180
+ gap: var(--cr-spacing-spacing-3);
2176
2181
  }
2177
- .cr-radio__label--hidden {
2178
- position: absolute;
2179
- width: 1px;
2180
- height: 1px;
2181
- overflow: hidden;
2182
- clip-path: inset(50%);
2183
- white-space: nowrap;
2182
+ .cr-page-header__segment {
2183
+ display: flex;
2184
2184
  }
2185
-
2186
- /* src/components/ScrollPanel/ScrollPanel.css */
2187
- .cr-scrollpanel {
2188
- position: relative;
2189
- overflow: hidden;
2185
+ .cr-page-header__actions {
2186
+ display: flex;
2187
+ align-items: center;
2188
+ gap: var(--cr-spacing-spacing-4);
2190
2189
  }
2191
- .cr-scrollpanel__wrapper {
2192
- position: relative;
2193
- z-index: 1;
2194
- float: left;
2195
- width: 100%;
2196
- height: 100%;
2197
- overflow: hidden;
2190
+ .cr-page-header__expand {
2191
+ grid-area: expand;
2198
2192
  }
2199
- .cr-scrollpanel__content {
2200
- position: relative;
2201
- box-sizing: border-box;
2202
- width: calc(100% + 18px);
2203
- height: calc(100% + 18px);
2204
- padding: 0 18px 18px 0;
2205
- overflow: auto;
2206
- outline: none;
2193
+ .cr-page-header__tab-list {
2194
+ display: flex;
2195
+ margin: 0;
2196
+ padding: 0 0 0 var(--cr-padding-padding-8);
2197
+ overflow-x: auto;
2198
+ border-bottom: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
2199
+ list-style: none;
2207
2200
  scrollbar-width: none;
2208
2201
  }
2209
- .cr-scrollpanel__content::-webkit-scrollbar {
2210
- display: none;
2211
- }
2212
- .cr-scrollpanel__content:focus-visible {
2213
- box-shadow: inset var(--cr-effects-focus-ring);
2214
- }
2215
- .cr-scrollpanel__bar {
2216
- position: relative;
2217
- z-index: 2;
2218
- border-radius: var(--cr-radius-full);
2219
- background-color: var(--cr-color-fill-neutral-subtle);
2220
- cursor: pointer;
2221
- }
2222
- .cr-scrollpanel__bar:hover,
2223
- .cr-scrollpanel__bar.p-scrollpanel-grabbed {
2224
- background-color: var(--cr-color-fill-neutral-subtle-hover);
2225
- }
2226
- .cr-scrollpanel__bar--vertical {
2227
- top: 0;
2228
- width: 8px;
2229
- }
2230
- .cr-scrollpanel__bar--horizontal {
2231
- bottom: 0;
2232
- height: 8px;
2233
- }
2234
- .cr-scrollpanel__bar.p-scrollpanel-hidden {
2235
- visibility: hidden;
2236
- }
2237
- body.p-scrollpanel-grabbed {
2238
- user-select: none;
2202
+ .cr-page-header__tab-item {
2203
+ display: flex;
2204
+ flex-shrink: 0;
2239
2205
  }
2240
-
2241
- /* src/components/SegmentControl/SegmentControl.css */
2242
- .cr-segment {
2243
- display: inline-flex;
2244
- align-items: center;
2245
- box-sizing: border-box;
2246
- max-width: 100%;
2247
- padding: var(--cr-padding-padding-3);
2248
- overflow: hidden;
2206
+ .cr-page-header__inkbar {
2207
+ display: none;
2249
2208
  }
2250
- .cr-segment__item {
2209
+ .cr-page-header__tab {
2251
2210
  display: inline-flex;
2252
- flex-shrink: 0;
2253
2211
  align-items: center;
2254
2212
  justify-content: center;
2255
2213
  gap: var(--cr-spacing-spacing-3);
2256
2214
  box-sizing: border-box;
2257
- height: 34px;
2258
- padding: var(--cr-padding-padding-3) var(--cr-padding-padding-5);
2259
- color: var(--cr-color-text-neutral-base);
2215
+ height: 44px;
2216
+ padding: 0 var(--cr-padding-padding-7);
2217
+ border-bottom: 2px solid transparent;
2218
+ border-radius: var(--cr-radius-x-small) var(--cr-radius-x-small) 0 0;
2219
+ color: var(--cr-color-text-neutral-subtle);
2260
2220
  font-family: var(--cr-typography-body-small-14-regular-font-family);
2261
2221
  font-size: var(--cr-typography-body-small-14-regular-font-size);
2262
2222
  font-weight: var(--cr-typography-body-small-14-regular-font-weight);
2263
2223
  line-height: var(--cr-typography-body-small-14-regular-line-height);
2264
2224
  letter-spacing: var(--cr-typography-body-small-14-regular-letter-spacing);
2265
2225
  white-space: nowrap;
2226
+ text-decoration: none;
2266
2227
  cursor: pointer;
2267
- user-select: none;
2268
2228
  outline: none;
2269
2229
  }
2270
- .cr-segment__icon {
2271
- display: inline-flex;
2272
- flex-shrink: 0;
2273
- font-size: 16px;
2230
+ .cr-page-header__tab:hover {
2231
+ color: var(--cr-color-text-neutral-base);
2274
2232
  }
2275
- .cr-segment__item[aria-pressed=true] {
2276
- background-color: var(--cr-color-fill-neutral-container);
2233
+ .cr-page-header__tab[aria-current=page] {
2234
+ border-bottom-color: var(--cr-color-stroke-brand-base);
2235
+ color: var(--cr-color-text-brand-base);
2277
2236
  font-weight: var(--cr-typography-body-small-14-semibold-font-weight);
2278
2237
  }
2279
- .cr-segment__item:focus-visible {
2280
- box-shadow: var(--cr-effects-focus-ring);
2238
+ .cr-page-header__tab:focus-visible {
2239
+ box-shadow: inset var(--cr-effects-focus-ring);
2281
2240
  }
2282
- .cr-segment__item[aria-disabled=true] {
2241
+ .cr-page-header__tab-item[aria-disabled=true] .cr-page-header__tab {
2283
2242
  color: var(--cr-color-text-disabled-base);
2284
2243
  cursor: not-allowed;
2285
2244
  }
2286
- .cr-segment--primary {
2245
+ .cr-page-header__tab-icon {
2246
+ display: inline-flex;
2247
+ flex-shrink: 0;
2248
+ align-items: center;
2249
+ justify-content: center;
2250
+ width: 32px;
2251
+ height: 32px;
2287
2252
  border-radius: var(--cr-radius-full);
2288
- background-color: var(--cr-color-fill-brand-subtlest);
2253
+ color: var(--cr-color-icon-neutral-base);
2254
+ font-size: 16px;
2289
2255
  }
2290
- .cr-segment--primary .cr-segment__item {
2291
- border-radius: var(--cr-radius-full);
2256
+ .cr-page-header__tab[aria-current=page] .cr-page-header__tab-icon {
2257
+ color: var(--cr-color-icon-brand-base);
2292
2258
  }
2293
- .cr-segment--primary .cr-segment__item[aria-pressed=true] {
2294
- box-shadow: var(--cr-elevation-blue-bottom-5);
2295
- color: var(--cr-color-text-brand-base);
2259
+ .cr-page-header--primary .cr-page-header__tab-icon {
2260
+ background-color: var(--cr-color-fill-neutral-subtlest);
2296
2261
  }
2297
- .cr-segment--secondary {
2298
- border-radius: var(--cr-radius-medium);
2262
+ .cr-page-header--primary .cr-page-header__tab:hover .cr-page-header__tab-icon {
2299
2263
  background-color: var(--cr-color-fill-neutral-subtler);
2300
2264
  }
2301
- .cr-segment--secondary .cr-segment__item {
2302
- border-radius: var(--cr-radius-small);
2303
- }
2304
- .cr-segment--secondary .cr-segment__item[aria-pressed=true] {
2305
- box-shadow: var(--cr-elevation-gray-bottom-5);
2265
+ .cr-page-header--primary .cr-page-header__tab[aria-current=page] {
2266
+ background-color: var(--cr-color-fill-brand-subtlest);
2306
2267
  }
2307
- .cr-segment--primary .cr-segment__item[aria-pressed=true]:focus-visible {
2308
- box-shadow: var(--cr-effects-focus-ring), var(--cr-elevation-blue-bottom-5);
2268
+ .cr-page-header--primary .cr-page-header__tab[aria-current=page] .cr-page-header__tab-icon {
2269
+ background-color: var(--cr-color-fill-neutral-container);
2309
2270
  }
2310
- .cr-segment--secondary .cr-segment__item[aria-pressed=true]:focus-visible {
2311
- box-shadow: var(--cr-effects-focus-ring), var(--cr-elevation-gray-bottom-5);
2271
+ .cr-page-header--secondary .cr-page-header__tab {
2272
+ padding: 0 var(--cr-padding-padding-8);
2312
2273
  }
2313
-
2314
- /* src/components/Select/Select.css */
2315
- .cr-select .cr-select__control {
2316
- cursor: pointer;
2274
+ @container (max-width: 1359px) {
2275
+ .cr-page-header__title-group {
2276
+ padding-right: var(--cr-padding-padding-6);
2277
+ padding-left: var(--cr-padding-padding-6);
2278
+ }
2279
+ .cr-page-header__tab-list {
2280
+ padding-left: var(--cr-padding-padding-6);
2281
+ }
2317
2282
  }
2318
- .cr-select.cr-field--disabled .cr-select__control {
2283
+ @container (max-width: 767px) {
2284
+ .cr-page-header {
2285
+ gap: var(--cr-spacing-spacing-3);
2286
+ }
2287
+ .cr-page-header__title-group {
2288
+ grid-template-areas: "text expand";
2289
+ grid-template-columns: minmax(0, 1fr) auto;
2290
+ column-gap: var(--cr-spacing-spacing-4);
2291
+ row-gap: var(--cr-spacing-spacing-5);
2292
+ min-height: 0;
2293
+ }
2294
+ .cr-page-header__title-group--tools {
2295
+ grid-template-areas: "text expand" "tools tools";
2296
+ }
2297
+ .cr-page-header__tools {
2298
+ gap: var(--cr-spacing-spacing-4);
2299
+ }
2300
+ .cr-page-header__segment {
2301
+ flex: 1;
2302
+ min-width: 0;
2303
+ }
2304
+ .cr-page-header__segment .cr-segment {
2305
+ width: 100%;
2306
+ }
2307
+ .cr-page-header__segment .cr-segment__item {
2308
+ flex: 1 1 0;
2309
+ }
2310
+ .cr-page-header__expand {
2311
+ width: 36px;
2312
+ height: 36px;
2313
+ }
2314
+ }
2315
+
2316
+ /* src/components/Select/Select.css */
2317
+ .cr-select .cr-select__control {
2318
+ cursor: pointer;
2319
+ }
2320
+ .cr-select.cr-field--disabled .cr-select__control {
2319
2321
  cursor: not-allowed;
2320
2322
  }
2321
2323
  .cr-select .cr-select__control--open,
@@ -2436,6 +2438,310 @@ body.p-scrollpanel-grabbed {
2436
2438
  color: var(--cr-color-text-brand-base);
2437
2439
  }
2438
2440
 
2441
+ /* src/components/Paginator/Paginator.css */
2442
+ .cr-paginator {
2443
+ display: flex;
2444
+ flex-wrap: wrap;
2445
+ align-items: center;
2446
+ }
2447
+ .cr-paginator__pages {
2448
+ display: flex;
2449
+ }
2450
+ .cr-paginator__arrow,
2451
+ .cr-paginator__page {
2452
+ display: inline-flex;
2453
+ flex-shrink: 0;
2454
+ align-items: center;
2455
+ justify-content: center;
2456
+ box-sizing: border-box;
2457
+ width: 36px;
2458
+ height: 36px;
2459
+ padding: 0;
2460
+ border: 0;
2461
+ border-radius: var(--cr-radius-full);
2462
+ background-color: var(--cr-color-fill-neutral-container);
2463
+ cursor: pointer;
2464
+ }
2465
+ .cr-paginator__arrow:focus-visible,
2466
+ .cr-paginator__page:focus-visible {
2467
+ outline: none;
2468
+ box-shadow: var(--cr-effects-focus-ring);
2469
+ }
2470
+ .cr-paginator__arrow:hover:not(:disabled),
2471
+ .cr-paginator__page:hover:not([aria-current=page]) {
2472
+ background-color: var(--cr-color-fill-neutral-subtlest);
2473
+ }
2474
+ .cr-paginator__arrow {
2475
+ color: var(--cr-color-icon-neutral-subtle);
2476
+ font-size: 14px;
2477
+ }
2478
+ .cr-paginator__arrow:hover:not(:disabled) {
2479
+ color: var(--cr-color-icon-neutral-base);
2480
+ }
2481
+ .cr-paginator__arrow:disabled {
2482
+ color: var(--cr-color-icon-disabled-base);
2483
+ cursor: not-allowed;
2484
+ }
2485
+ .cr-paginator__page {
2486
+ color: var(--cr-color-text-neutral-subtlest);
2487
+ font-family: var(--cr-typography-body-small-14-regular-font-family);
2488
+ font-size: var(--cr-typography-body-small-14-regular-font-size);
2489
+ font-weight: var(--cr-typography-body-small-14-regular-font-weight);
2490
+ line-height: var(--cr-typography-body-small-14-regular-line-height);
2491
+ letter-spacing: var(--cr-typography-body-small-14-regular-letter-spacing);
2492
+ }
2493
+ .cr-paginator__page:hover:not([aria-current=page]) {
2494
+ color: var(--cr-color-text-neutral-base);
2495
+ }
2496
+ .cr-paginator__page[aria-current=page] {
2497
+ background-color: var(--cr-color-fill-brand-base);
2498
+ color: var(--cr-color-text-inverse-base);
2499
+ font-family: var(--cr-typography-label-medium-12-semibold-font-family);
2500
+ font-size: var(--cr-typography-label-medium-12-semibold-font-size);
2501
+ font-weight: var(--cr-typography-label-medium-12-semibold-font-weight);
2502
+ line-height: var(--cr-typography-label-medium-12-semibold-line-height);
2503
+ letter-spacing: var(--cr-typography-label-medium-12-semibold-letter-spacing);
2504
+ }
2505
+ .cr-paginator__rows {
2506
+ width: 75px;
2507
+ margin-left: var(--cr-spacing-spacing-4);
2508
+ }
2509
+ .cr-paginator__rows .cr-select__control {
2510
+ padding-right: var(--cr-padding-padding-4);
2511
+ }
2512
+
2513
+ /* src/components/Panel/Panel.css */
2514
+ .cr-panel {
2515
+ display: flex;
2516
+ flex-direction: column;
2517
+ box-sizing: border-box;
2518
+ padding: var(--cr-padding-padding-7) var(--cr-padding-padding-7) var(--cr-padding-padding-12);
2519
+ border: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
2520
+ border-radius: var(--cr-radius-large);
2521
+ background-color: var(--cr-color-fill-neutral-container);
2522
+ }
2523
+ .cr-panel__body,
2524
+ .cr-panel__content {
2525
+ display: flex;
2526
+ flex: 1 0 auto;
2527
+ flex-direction: column;
2528
+ min-height: 0;
2529
+ }
2530
+
2531
+ /* src/components/Radio/Radio.css */
2532
+ .cr-radio {
2533
+ display: inline-flex;
2534
+ align-items: center;
2535
+ gap: var(--cr-spacing-spacing-4);
2536
+ max-width: 100%;
2537
+ }
2538
+ .cr-radio--label-full {
2539
+ align-items: flex-start;
2540
+ }
2541
+ .cr-radio__control {
2542
+ position: relative;
2543
+ flex-shrink: 0;
2544
+ width: 24px;
2545
+ height: 24px;
2546
+ }
2547
+ .cr-radio__input {
2548
+ position: absolute;
2549
+ inset: 0;
2550
+ z-index: 1;
2551
+ width: 100%;
2552
+ height: 100%;
2553
+ margin: 0;
2554
+ opacity: 0;
2555
+ cursor: pointer;
2556
+ }
2557
+ .cr-radio__box {
2558
+ box-sizing: border-box;
2559
+ width: 100%;
2560
+ height: 100%;
2561
+ border: var(--cr-stroke-small) solid var(--cr-color-stroke-neutral-bold);
2562
+ border-radius: var(--cr-radius-full);
2563
+ background-color: var(--cr-color-fill-neutral-container);
2564
+ }
2565
+ .cr-radio__icon {
2566
+ display: none;
2567
+ }
2568
+ .cr-radio__control[data-p-checked=true] .cr-radio__box {
2569
+ border-width: 8px;
2570
+ border-color: var(--cr-color-stroke-brand-base);
2571
+ }
2572
+ .cr-radio:not(.cr-radio--disabled):hover .cr-radio__box {
2573
+ border-color: var(--cr-color-stroke-neutral-bold-hover);
2574
+ }
2575
+ .cr-radio:not(.cr-radio--disabled):hover .cr-radio__control[data-p-checked=true] .cr-radio__box {
2576
+ border-color: var(--cr-color-stroke-brand-base-hover);
2577
+ }
2578
+ .cr-radio__input:focus-visible + .cr-radio__box {
2579
+ border-color: var(--cr-color-stroke-brand-base);
2580
+ box-shadow: var(--cr-effects-focus-ring);
2581
+ }
2582
+ .cr-radio--disabled .cr-radio__input {
2583
+ cursor: not-allowed;
2584
+ }
2585
+ .cr-radio--disabled .cr-radio__box,
2586
+ .cr-radio--disabled .cr-radio__control[data-p-checked=true] .cr-radio__box {
2587
+ border-color: var(--cr-color-stroke-disabled-base);
2588
+ }
2589
+ .cr-radio__label {
2590
+ min-width: 0;
2591
+ color: var(--cr-color-text-neutral-base);
2592
+ font-family: var(--cr-typography-label-large-14-regular-font-family);
2593
+ font-size: var(--cr-typography-label-large-14-regular-font-size);
2594
+ font-weight: var(--cr-typography-label-large-14-regular-font-weight);
2595
+ line-height: var(--cr-typography-label-large-14-regular-line-height);
2596
+ letter-spacing: var(--cr-typography-label-large-14-regular-letter-spacing);
2597
+ cursor: pointer;
2598
+ }
2599
+ .cr-radio--label-default .cr-radio__label {
2600
+ overflow: hidden;
2601
+ text-overflow: ellipsis;
2602
+ white-space: nowrap;
2603
+ }
2604
+ .cr-radio--disabled .cr-radio__label {
2605
+ color: var(--cr-color-text-disabled-base);
2606
+ cursor: not-allowed;
2607
+ }
2608
+ .cr-radio__label--hidden {
2609
+ position: absolute;
2610
+ width: 1px;
2611
+ height: 1px;
2612
+ overflow: hidden;
2613
+ clip-path: inset(50%);
2614
+ white-space: nowrap;
2615
+ }
2616
+
2617
+ /* src/components/ScrollPanel/ScrollPanel.css */
2618
+ .cr-scrollpanel {
2619
+ position: relative;
2620
+ overflow: hidden;
2621
+ }
2622
+ .cr-scrollpanel__wrapper {
2623
+ position: relative;
2624
+ z-index: 1;
2625
+ float: left;
2626
+ width: 100%;
2627
+ height: 100%;
2628
+ overflow: hidden;
2629
+ }
2630
+ .cr-scrollpanel__content {
2631
+ position: relative;
2632
+ box-sizing: border-box;
2633
+ width: calc(100% + 18px);
2634
+ height: calc(100% + 18px);
2635
+ padding: 0 18px 18px 0;
2636
+ overflow: auto;
2637
+ outline: none;
2638
+ scrollbar-width: none;
2639
+ }
2640
+ .cr-scrollpanel__content::-webkit-scrollbar {
2641
+ display: none;
2642
+ }
2643
+ .cr-scrollpanel__content:focus-visible {
2644
+ box-shadow: inset var(--cr-effects-focus-ring);
2645
+ }
2646
+ .cr-scrollpanel__bar {
2647
+ position: relative;
2648
+ z-index: 2;
2649
+ border-radius: var(--cr-radius-full);
2650
+ background-color: var(--cr-color-fill-neutral-subtle);
2651
+ cursor: pointer;
2652
+ }
2653
+ .cr-scrollpanel__bar:hover,
2654
+ .cr-scrollpanel__bar.p-scrollpanel-grabbed {
2655
+ background-color: var(--cr-color-fill-neutral-subtle-hover);
2656
+ }
2657
+ .cr-scrollpanel__bar--vertical {
2658
+ top: 0;
2659
+ width: 8px;
2660
+ }
2661
+ .cr-scrollpanel__bar--horizontal {
2662
+ bottom: 0;
2663
+ height: 8px;
2664
+ }
2665
+ .cr-scrollpanel__bar.p-scrollpanel-hidden {
2666
+ visibility: hidden;
2667
+ }
2668
+ body.p-scrollpanel-grabbed {
2669
+ user-select: none;
2670
+ }
2671
+
2672
+ /* src/components/SegmentControl/SegmentControl.css */
2673
+ .cr-segment {
2674
+ display: inline-flex;
2675
+ align-items: center;
2676
+ box-sizing: border-box;
2677
+ max-width: 100%;
2678
+ padding: var(--cr-padding-padding-3);
2679
+ overflow: hidden;
2680
+ }
2681
+ .cr-segment__item {
2682
+ display: inline-flex;
2683
+ flex-shrink: 0;
2684
+ align-items: center;
2685
+ justify-content: center;
2686
+ gap: var(--cr-spacing-spacing-3);
2687
+ box-sizing: border-box;
2688
+ height: 34px;
2689
+ padding: var(--cr-padding-padding-3) var(--cr-padding-padding-5);
2690
+ color: var(--cr-color-text-neutral-base);
2691
+ font-family: var(--cr-typography-body-small-14-regular-font-family);
2692
+ font-size: var(--cr-typography-body-small-14-regular-font-size);
2693
+ font-weight: var(--cr-typography-body-small-14-regular-font-weight);
2694
+ line-height: var(--cr-typography-body-small-14-regular-line-height);
2695
+ letter-spacing: var(--cr-typography-body-small-14-regular-letter-spacing);
2696
+ white-space: nowrap;
2697
+ cursor: pointer;
2698
+ user-select: none;
2699
+ outline: none;
2700
+ }
2701
+ .cr-segment__icon {
2702
+ display: inline-flex;
2703
+ flex-shrink: 0;
2704
+ font-size: 16px;
2705
+ }
2706
+ .cr-segment__item[aria-pressed=true] {
2707
+ background-color: var(--cr-color-fill-neutral-container);
2708
+ font-weight: var(--cr-typography-body-small-14-semibold-font-weight);
2709
+ }
2710
+ .cr-segment__item:focus-visible {
2711
+ box-shadow: var(--cr-effects-focus-ring);
2712
+ }
2713
+ .cr-segment__item[aria-disabled=true] {
2714
+ color: var(--cr-color-text-disabled-base);
2715
+ cursor: not-allowed;
2716
+ }
2717
+ .cr-segment--primary {
2718
+ border-radius: var(--cr-radius-full);
2719
+ background-color: var(--cr-color-fill-brand-subtlest);
2720
+ }
2721
+ .cr-segment--primary .cr-segment__item {
2722
+ border-radius: var(--cr-radius-full);
2723
+ }
2724
+ .cr-segment--primary .cr-segment__item[aria-pressed=true] {
2725
+ box-shadow: var(--cr-elevation-blue-bottom-5);
2726
+ color: var(--cr-color-text-brand-base);
2727
+ }
2728
+ .cr-segment--secondary {
2729
+ border-radius: var(--cr-radius-medium);
2730
+ background-color: var(--cr-color-fill-neutral-subtler);
2731
+ }
2732
+ .cr-segment--secondary .cr-segment__item {
2733
+ border-radius: var(--cr-radius-small);
2734
+ }
2735
+ .cr-segment--secondary .cr-segment__item[aria-pressed=true] {
2736
+ box-shadow: var(--cr-elevation-gray-bottom-5);
2737
+ }
2738
+ .cr-segment--primary .cr-segment__item[aria-pressed=true]:focus-visible {
2739
+ box-shadow: var(--cr-effects-focus-ring), var(--cr-elevation-blue-bottom-5);
2740
+ }
2741
+ .cr-segment--secondary .cr-segment__item[aria-pressed=true]:focus-visible {
2742
+ box-shadow: var(--cr-effects-focus-ring), var(--cr-elevation-gray-bottom-5);
2743
+ }
2744
+
2439
2745
  /* src/components/Switch/Switch.css */
2440
2746
  .cr-switch {
2441
2747
  --cr-switch-width: 48px;
@@ -2610,4 +2916,119 @@ body.p-scrollpanel-grabbed {
2610
2916
  .cr-tabs__close:hover {
2611
2917
  background-color: var(--cr-color-fill-neutral-subtlest);
2612
2918
  }
2919
+
2920
+ /* src/components/Toast/Toast.css */
2921
+ .cr-toast > div {
2922
+ display: flex;
2923
+ flex-direction: column;
2924
+ gap: var(--cr-spacing-spacing-4);
2925
+ }
2926
+ .cr-toast__message {
2927
+ box-sizing: border-box;
2928
+ width: 340px;
2929
+ max-width: 100%;
2930
+ padding: var(--cr-padding-padding-6);
2931
+ border-radius: var(--cr-radius-medium);
2932
+ box-shadow: var(--cr-elevation-gray-bottom-5);
2933
+ color: var(--cr-color-text-neutral-base);
2934
+ --cr-toast-close-color: var(--cr-color-icon-neutral-base);
2935
+ }
2936
+ .cr-toast__content {
2937
+ display: flex;
2938
+ align-items: flex-start;
2939
+ gap: var(--cr-spacing-spacing-4);
2940
+ }
2941
+ .cr-toast__icon {
2942
+ display: inline-flex;
2943
+ flex-shrink: 0;
2944
+ align-items: center;
2945
+ justify-content: center;
2946
+ width: 32px;
2947
+ height: 32px;
2948
+ margin-right: var(--cr-spacing-spacing-3);
2949
+ border-radius: var(--cr-radius-full);
2950
+ background-color: var(--cr-toast-icon-bg);
2951
+ color: var(--cr-color-icon-inverse-base);
2952
+ font-size: 16px;
2953
+ }
2954
+ .cr-toast__text {
2955
+ display: flex;
2956
+ flex: 1;
2957
+ flex-direction: column;
2958
+ gap: var(--cr-spacing-spacing-3);
2959
+ min-width: 0;
2960
+ overflow-wrap: break-word;
2961
+ }
2962
+ .cr-toast__title {
2963
+ font-family: var(--cr-typography-label-large-14-semibold-font-family);
2964
+ font-size: var(--cr-typography-label-large-14-semibold-font-size);
2965
+ font-weight: var(--cr-typography-label-large-14-semibold-font-weight);
2966
+ line-height: var(--cr-typography-label-large-14-semibold-line-height);
2967
+ letter-spacing: var(--cr-typography-label-large-14-semibold-letter-spacing);
2968
+ }
2969
+ .cr-toast__detail {
2970
+ font-family: var(--cr-typography-label-medium-12-regular-font-family);
2971
+ font-size: var(--cr-typography-label-medium-12-regular-font-size);
2972
+ font-weight: var(--cr-typography-label-medium-12-regular-font-weight);
2973
+ line-height: var(--cr-typography-label-medium-12-regular-line-height);
2974
+ letter-spacing: var(--cr-typography-label-medium-12-regular-letter-spacing);
2975
+ }
2976
+ .cr-toast__close {
2977
+ display: inline-flex;
2978
+ align-items: center;
2979
+ justify-content: center;
2980
+ width: 24px;
2981
+ height: 24px;
2982
+ padding: 0;
2983
+ border: 0;
2984
+ border-radius: var(--cr-radius-full);
2985
+ background: none;
2986
+ color: var(--cr-toast-close-color);
2987
+ font-size: 16px;
2988
+ cursor: pointer;
2989
+ }
2990
+ .cr-toast__close:hover {
2991
+ background-color: var(--cr-color-deprecated-fill-primary-darken-transparent);
2992
+ }
2993
+ .cr-toast__close:focus-visible {
2994
+ outline: none;
2995
+ box-shadow: var(--cr-effects-focus-ring);
2996
+ }
2997
+ .cr-toast__message--warning {
2998
+ background-color: var(--cr-color-fill-warning-subtle);
2999
+ --cr-toast-icon-bg: var(--cr-color-fill-warning-base);
3000
+ }
3001
+ .cr-toast__message--danger {
3002
+ background-color: var(--cr-color-fill-danger-subtle);
3003
+ --cr-toast-icon-bg: var(--cr-color-fill-danger-base);
3004
+ }
3005
+ .cr-toast__message--success {
3006
+ background-color: var(--cr-color-fill-success-subtle);
3007
+ --cr-toast-icon-bg: var(--cr-color-fill-success-base);
3008
+ }
3009
+ .cr-toast__message--info {
3010
+ background-color: var(--cr-color-fill-neutral-boldest);
3011
+ color: var(--cr-color-text-inverse-base);
3012
+ --cr-toast-icon-bg: var(--cr-color-fill-neutral-bold);
3013
+ --cr-toast-close-color: var(--cr-color-icon-inverse-base);
3014
+ }
3015
+ .cr-toast__message--enter {
3016
+ opacity: 0;
3017
+ transform: translateY(-8px);
3018
+ }
3019
+ .cr-toast__message--enter-active {
3020
+ opacity: 1;
3021
+ transform: none;
3022
+ transition: opacity 300ms ease-out, transform 300ms ease-out;
3023
+ }
3024
+ .cr-toast__message--exit-active {
3025
+ opacity: 0;
3026
+ transition: opacity 300ms ease-in;
3027
+ }
3028
+ @media (prefers-reduced-motion: reduce) {
3029
+ .cr-toast__message--enter-active,
3030
+ .cr-toast__message--exit-active {
3031
+ transition: none;
3032
+ }
3033
+ }
2613
3034
  /*# sourceMappingURL=index.css.map */