@cambly/syntax-core 23.5.2 → 23.7.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
@@ -2295,6 +2295,281 @@
2295
2295
  border-radius: 999px;
2296
2296
  }
2297
2297
 
2298
+ /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Icon/Icon.module.css/#css-module-data */
2299
+ ._icon_12p4o_1 {
2300
+ display: inline-block;
2301
+ fill: currentcolor;
2302
+ flex-shrink: 0;
2303
+ user-select: none;
2304
+ }
2305
+ [dir=rtl] ._icon_12p4o_1._iconRtlMirror_12p4o_9 {
2306
+ transform: scaleX(-1);
2307
+ }
2308
+ ._icon100_12p4o_13 {
2309
+ width: 16px;
2310
+ height: 16px;
2311
+ }
2312
+ ._icon200_12p4o_18 {
2313
+ width: 20px;
2314
+ height: 20px;
2315
+ }
2316
+ ._icon300_12p4o_23 {
2317
+ width: 24px;
2318
+ height: 24px;
2319
+ }
2320
+ ._icon400_12p4o_28 {
2321
+ width: 32px;
2322
+ height: 32px;
2323
+ }
2324
+ ._icon500_12p4o_33 {
2325
+ width: 48px;
2326
+ height: 48px;
2327
+ }
2328
+ ._icon600_12p4o_38 {
2329
+ width: 72px;
2330
+ height: 72px;
2331
+ }
2332
+ ._icon700_12p4o_43 {
2333
+ width: 100px;
2334
+ height: 100px;
2335
+ }
2336
+ ._icon800_12p4o_48 {
2337
+ width: 140px;
2338
+ height: 140px;
2339
+ }
2340
+ ._icon900_12p4o_53 {
2341
+ width: 200px;
2342
+ height: 200px;
2343
+ }
2344
+ ._icon1000_12p4o_58 {
2345
+ width: 280px;
2346
+ height: 280px;
2347
+ }
2348
+
2349
+ /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/DateRangePicker/DateRangePicker.module.css/#css-module-data */
2350
+ ._root_qcyt7_2 {
2351
+ display: flex;
2352
+ flex-direction: column;
2353
+ gap: 4px;
2354
+ width: fit-content;
2355
+ font-family: var(--syntax-font-sans-serif);
2356
+ }
2357
+ ._label_qcyt7_11 {
2358
+ font-size: 14px;
2359
+ font-weight: 500;
2360
+ color: var(--color-cambio-gray-700);
2361
+ cursor: default;
2362
+ }
2363
+ ._group_qcyt7_19 {
2364
+ display: flex;
2365
+ align-items: center;
2366
+ gap: 4px;
2367
+ border: 1px solid var(--color-cambio-gray-370);
2368
+ border-radius: 8px;
2369
+ box-sizing: border-box;
2370
+ background: #fff;
2371
+ color: var(--color-cambio-gray-700);
2372
+ }
2373
+ ._group_qcyt7_19[data-focus-within] {
2374
+ outline: none;
2375
+ box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
2376
+ }
2377
+ ._group_qcyt7_19[data-invalid] {
2378
+ border-color: var(--color-cambio-destructive-700);
2379
+ }
2380
+ ._group_qcyt7_19[data-disabled] {
2381
+ opacity: 0.4;
2382
+ cursor: not-allowed;
2383
+ }
2384
+ ._sm_qcyt7_45 {
2385
+ height: 32px;
2386
+ padding: 0 8px;
2387
+ font-size: 14px;
2388
+ }
2389
+ ._md_qcyt7_51 {
2390
+ height: 48px;
2391
+ padding: 0 12px;
2392
+ font-size: 16px;
2393
+ }
2394
+ ._lg_qcyt7_57 {
2395
+ height: 64px;
2396
+ padding: 0 16px;
2397
+ font-size: 18px;
2398
+ }
2399
+ ._dateInput_qcyt7_64 {
2400
+ display: flex;
2401
+ align-items: center;
2402
+ flex: 1;
2403
+ min-width: 0;
2404
+ }
2405
+ ._segment_qcyt7_72 {
2406
+ padding: 1px 2px;
2407
+ border-radius: 4px;
2408
+ outline: none;
2409
+ caret-color: transparent;
2410
+ }
2411
+ ._segment_qcyt7_72[data-type=year] {
2412
+ min-width: 4ch;
2413
+ }
2414
+ ._segment_qcyt7_72[data-type=month] {
2415
+ min-width: 2ch;
2416
+ }
2417
+ ._segment_qcyt7_72[data-type=day] {
2418
+ min-width: 2ch;
2419
+ }
2420
+ ._segment_qcyt7_72[data-type=literal] {
2421
+ padding: 0 1px;
2422
+ color: var(--color-cambio-gray-370);
2423
+ }
2424
+ ._segment_qcyt7_72[data-placeholder] {
2425
+ color: var(--color-cambio-gray-370);
2426
+ }
2427
+ ._segment_qcyt7_72[data-focused] {
2428
+ background-color: var(--color-base-primary-700);
2429
+ color: #fff;
2430
+ border-radius: 2px;
2431
+ }
2432
+ ._separator_qcyt7_109 {
2433
+ flex-shrink: 0;
2434
+ color: var(--color-cambio-gray-370);
2435
+ padding: 0 4px;
2436
+ user-select: none;
2437
+ }
2438
+ ._calendarButton_qcyt7_117 {
2439
+ display: flex;
2440
+ align-items: center;
2441
+ justify-content: center;
2442
+ flex-shrink: 0;
2443
+ background: none;
2444
+ border: none;
2445
+ cursor: pointer;
2446
+ padding: 4px;
2447
+ border-radius: 4px;
2448
+ color: var(--color-cambio-gray-700);
2449
+ outline: none;
2450
+ }
2451
+ ._calendarButton_qcyt7_117:hover {
2452
+ background-color: var(--color-cambio-gray-10);
2453
+ }
2454
+ ._calendarButton_qcyt7_117[data-focus-visible] {
2455
+ box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
2456
+ }
2457
+ ._description_qcyt7_140 {
2458
+ font-size: 14px;
2459
+ color: var(--color-cambio-gray-700);
2460
+ }
2461
+ ._errorMessage_qcyt7_145 {
2462
+ font-size: 14px;
2463
+ color: var(--color-cambio-destructive-700);
2464
+ }
2465
+ ._popover_qcyt7_161 {
2466
+ background: #fff;
2467
+ border-radius: 8px;
2468
+ box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.25);
2469
+ padding: 16px;
2470
+ height: 320px;
2471
+ overflow: hidden;
2472
+ outline: none;
2473
+ font-family: var(--syntax-font-sans-serif);
2474
+ }
2475
+ ._calendar_qcyt7_117 {
2476
+ display: flex;
2477
+ flex-direction: column;
2478
+ gap: 16px;
2479
+ }
2480
+ ._calendarHeader_qcyt7_180 {
2481
+ display: flex;
2482
+ align-items: center;
2483
+ justify-content: space-between;
2484
+ gap: 8px;
2485
+ }
2486
+ ._calendarHeading_qcyt7_187 {
2487
+ flex: 1;
2488
+ text-align: center;
2489
+ font-size: 16px;
2490
+ font-weight: 600;
2491
+ color: var(--color-cambio-gray-700);
2492
+ }
2493
+ ._navButton_qcyt7_196 {
2494
+ display: flex;
2495
+ align-items: center;
2496
+ justify-content: center;
2497
+ width: 32px;
2498
+ height: 32px;
2499
+ border: none;
2500
+ border-radius: 50%;
2501
+ background: none;
2502
+ cursor: pointer;
2503
+ color: var(--color-cambio-gray-700);
2504
+ outline: none;
2505
+ flex-shrink: 0;
2506
+ }
2507
+ ._navButton_qcyt7_196[data-hovered] {
2508
+ background-color: rgba(0, 0, 0, 0.1);
2509
+ }
2510
+ ._navButton_qcyt7_196[data-focus-visible] {
2511
+ box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
2512
+ }
2513
+ ._navButton_qcyt7_196[data-disabled] {
2514
+ opacity: 0.4;
2515
+ cursor: not-allowed;
2516
+ }
2517
+ ._calendarGrids_qcyt7_230 {
2518
+ display: flex;
2519
+ align-items: flex-start;
2520
+ gap: 24px;
2521
+ }
2522
+ ._calendarGrid_qcyt7_230 {
2523
+ border-collapse: collapse;
2524
+ }
2525
+ ._dayHeader_qcyt7_242 {
2526
+ font-size: 12px;
2527
+ font-weight: 600;
2528
+ color: var(--color-cambio-gray-700);
2529
+ text-align: center;
2530
+ padding: 0 0 8px;
2531
+ width: 36px;
2532
+ }
2533
+ ._cell_qcyt7_256 {
2534
+ display: flex;
2535
+ align-items: center;
2536
+ justify-content: center;
2537
+ width: 36px;
2538
+ height: 36px;
2539
+ border-radius: 50%;
2540
+ font-size: 14px;
2541
+ color: var(--color-cambio-gray-700);
2542
+ cursor: pointer;
2543
+ outline: none;
2544
+ }
2545
+ ._cell_qcyt7_256:where([data-hovered]:not([data-selected], [data-unavailable], [data-disabled])) {
2546
+ background-color: rgba(0, 0, 0, 0.1);
2547
+ }
2548
+ ._cell_qcyt7_256[data-outside-month] {
2549
+ visibility: hidden;
2550
+ }
2551
+ ._cell_qcyt7_256[data-selected] {
2552
+ background-color: var(--color-base-primary-100);
2553
+ color: var(--color-base-primary-700);
2554
+ }
2555
+ ._cell_qcyt7_256[data-selection-start],
2556
+ ._cell_qcyt7_256[data-selection-end] {
2557
+ background-color: var(--color-base-primary-700);
2558
+ color: #fff;
2559
+ }
2560
+ ._cell_qcyt7_256[data-focused] {
2561
+ box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
2562
+ }
2563
+ ._cell_qcyt7_256[data-unavailable] {
2564
+ text-decoration: line-through;
2565
+ color: var(--color-cambio-gray-370);
2566
+ cursor: not-allowed;
2567
+ }
2568
+ ._cell_qcyt7_256[data-disabled] {
2569
+ opacity: 0.4;
2570
+ cursor: not-allowed;
2571
+ }
2572
+
2298
2573
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css/#css-module-data */
2299
2574
  ._typography_17ldg_1 {
2300
2575
  line-height: initial;
@@ -2756,57 +3031,6 @@
2756
3031
  background-color: var(--color-base-gray-10);
2757
3032
  }
2758
3033
 
2759
- /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Icon/Icon.module.css/#css-module-data */
2760
- ._icon_12p4o_1 {
2761
- display: inline-block;
2762
- fill: currentcolor;
2763
- flex-shrink: 0;
2764
- user-select: none;
2765
- }
2766
- [dir=rtl] ._icon_12p4o_1._iconRtlMirror_12p4o_9 {
2767
- transform: scaleX(-1);
2768
- }
2769
- ._icon100_12p4o_13 {
2770
- width: 16px;
2771
- height: 16px;
2772
- }
2773
- ._icon200_12p4o_18 {
2774
- width: 20px;
2775
- height: 20px;
2776
- }
2777
- ._icon300_12p4o_23 {
2778
- width: 24px;
2779
- height: 24px;
2780
- }
2781
- ._icon400_12p4o_28 {
2782
- width: 32px;
2783
- height: 32px;
2784
- }
2785
- ._icon500_12p4o_33 {
2786
- width: 48px;
2787
- height: 48px;
2788
- }
2789
- ._icon600_12p4o_38 {
2790
- width: 72px;
2791
- height: 72px;
2792
- }
2793
- ._icon700_12p4o_43 {
2794
- width: 100px;
2795
- height: 100px;
2796
- }
2797
- ._icon800_12p4o_48 {
2798
- width: 140px;
2799
- height: 140px;
2800
- }
2801
- ._icon900_12p4o_53 {
2802
- width: 200px;
2803
- height: 200px;
2804
- }
2805
- ._icon1000_12p4o_58 {
2806
- width: 280px;
2807
- height: 280px;
2808
- }
2809
-
2810
3034
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/IconButton/IconButton.module.css/#css-module-data */
2811
3035
  ._iconButton_txjkh_1 {
2812
3036
  align-items: center;