@likec4/styles 1.34.2 → 1.35.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/preset.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { definePreset, defineRecipe, defineSemanticTokens, defineTokens, defineLayerStyles, defineTextStyles, defineUtility } from '@pandacss/dev';
1
+ import { definePreset, defineSlotRecipe, defineRecipe, defineSemanticTokens, defineTokens, defineLayerStyles, defineTextStyles, defineUtility } from '@pandacss/dev';
2
2
 
3
3
  const grayDark = {
4
4
  gray1: "#111111",
@@ -3968,6 +3968,7 @@ const radixColors = [
3968
3968
  "grass",
3969
3969
  "lime"
3970
3970
  ];
3971
+ const iconSize = "--likec4-icon-size";
3971
3972
  const themeColors = [
3972
3973
  "amber",
3973
3974
  "blue",
@@ -4213,58 +4214,76 @@ const theme$1 = {
4213
4214
  colors: {
4214
4215
  primary: {
4215
4216
  DEFAULT: {
4217
+ description: "Mantine color primaryColors",
4216
4218
  value: "var(--mantine-primary-color-6)"
4217
4219
  },
4218
4220
  filled: {
4221
+ description: "Mantine color primaryColors filled",
4219
4222
  value: "var(--mantine-primary-color-filled)"
4220
4223
  },
4221
4224
  filledHover: {
4225
+ description: "Mantine color primaryColors filled hover",
4222
4226
  value: "var(--mantine-primary-color-filled-hover)"
4223
4227
  },
4224
4228
  light: {
4229
+ description: "Mantine color primaryColors light",
4225
4230
  value: "var(--mantine-primary-color-light)"
4226
4231
  },
4227
4232
  lightHover: {
4233
+ description: "Mantine color primaryColors light hover",
4228
4234
  value: "var(--mantine-primary-color-light-hover)"
4229
4235
  },
4230
4236
  lightColor: {
4237
+ description: "Mantine color primaryColors light color",
4231
4238
  value: "var(--mantine-primary-color-light-color)"
4232
4239
  },
4233
4240
  outline: {
4241
+ description: "Mantine color primaryColors outline",
4234
4242
  value: "var(--mantine-primary-color-outline)"
4235
4243
  },
4236
4244
  outlineHover: {
4245
+ description: "Mantine color primaryColors outline hover",
4237
4246
  value: "var(--mantine-primary-color-outline-hover)"
4238
4247
  }
4239
4248
  },
4240
4249
  "primary[0]": {
4250
+ description: "Mantine color primaryColors.0",
4241
4251
  value: "var(--mantine-primary-color-0)"
4242
4252
  },
4243
4253
  "primary[1]": {
4254
+ description: "Mantine color primaryColors.1",
4244
4255
  value: "var(--mantine-primary-color-1)"
4245
4256
  },
4246
4257
  "primary[2]": {
4258
+ description: "Mantine color primaryColors.2",
4247
4259
  value: "var(--mantine-primary-color-2)"
4248
4260
  },
4249
4261
  "primary[3]": {
4262
+ description: "Mantine color primaryColors.3",
4250
4263
  value: "var(--mantine-primary-color-3)"
4251
4264
  },
4252
4265
  "primary[4]": {
4266
+ description: "Mantine color primaryColors.4",
4253
4267
  value: "var(--mantine-primary-color-4)"
4254
4268
  },
4255
4269
  "primary[5]": {
4270
+ description: "Mantine color primaryColors.5",
4256
4271
  value: "var(--mantine-primary-color-5)"
4257
4272
  },
4258
4273
  "primary[6]": {
4274
+ description: "Mantine color primaryColors.6",
4259
4275
  value: "var(--mantine-primary-color-6)"
4260
4276
  },
4261
4277
  "primary[7]": {
4278
+ description: "Mantine color primaryColors.7",
4262
4279
  value: "var(--mantine-primary-color-7)"
4263
4280
  },
4264
4281
  "primary[8]": {
4282
+ description: "Mantine color primaryColors.8",
4265
4283
  value: "var(--mantine-primary-color-8)"
4266
4284
  },
4267
4285
  "primary[9]": {
4286
+ description: "Mantine color primaryColors.9",
4268
4287
  value: "var(--mantine-primary-color-9)"
4269
4288
  },
4270
4289
  white: {
@@ -4299,394 +4318,520 @@ const theme$1 = {
4299
4318
  },
4300
4319
  gray: {
4301
4320
  DEFAULT: {
4321
+ description: "Mantine color gray",
4302
4322
  value: "var(--mantine-color-gray-6)"
4303
4323
  },
4304
4324
  filled: {
4325
+ description: "Mantine color gray filled",
4305
4326
  value: "var(--mantine-color-gray-filled)"
4306
4327
  },
4307
4328
  filledHover: {
4329
+ description: "Mantine color gray filled hover",
4308
4330
  value: "var(--mantine-color-gray-filled-hover)"
4309
4331
  },
4310
4332
  light: {
4333
+ description: "Mantine color gray light",
4311
4334
  value: "var(--mantine-color-gray-light)"
4312
4335
  },
4313
4336
  lightHover: {
4337
+ description: "Mantine color gray light hover",
4314
4338
  value: "var(--mantine-color-gray-light-hover)"
4315
4339
  },
4316
4340
  lightColor: {
4341
+ description: "Mantine color gray light color",
4317
4342
  value: "var(--mantine-color-gray-light-color)"
4318
4343
  },
4319
4344
  outline: {
4345
+ description: "Mantine color gray outline",
4320
4346
  value: "var(--mantine-color-gray-outline)"
4321
4347
  },
4322
4348
  outlineHover: {
4349
+ description: "Mantine color gray outline hover",
4323
4350
  value: "var(--mantine-color-gray-outline-hover)"
4324
4351
  }
4325
4352
  },
4326
4353
  "gray[0]": {
4354
+ description: "Mantine color gray.0",
4327
4355
  value: "var(--mantine-color-gray-0)"
4328
4356
  },
4329
4357
  "gray[1]": {
4358
+ description: "Mantine color gray.1",
4330
4359
  value: "var(--mantine-color-gray-1)"
4331
4360
  },
4332
4361
  "gray[2]": {
4362
+ description: "Mantine color gray.2",
4333
4363
  value: "var(--mantine-color-gray-2)"
4334
4364
  },
4335
4365
  "gray[3]": {
4366
+ description: "Mantine color gray.3",
4336
4367
  value: "var(--mantine-color-gray-3)"
4337
4368
  },
4338
4369
  "gray[4]": {
4370
+ description: "Mantine color gray.4",
4339
4371
  value: "var(--mantine-color-gray-4)"
4340
4372
  },
4341
4373
  "gray[5]": {
4374
+ description: "Mantine color gray.5",
4342
4375
  value: "var(--mantine-color-gray-5)"
4343
4376
  },
4344
4377
  "gray[6]": {
4378
+ description: "Mantine color gray.6",
4345
4379
  value: "var(--mantine-color-gray-6)"
4346
4380
  },
4347
4381
  "gray[7]": {
4382
+ description: "Mantine color gray.7",
4348
4383
  value: "var(--mantine-color-gray-7)"
4349
4384
  },
4350
4385
  "gray[8]": {
4386
+ description: "Mantine color gray.8",
4351
4387
  value: "var(--mantine-color-gray-8)"
4352
4388
  },
4353
4389
  "gray[9]": {
4390
+ description: "Mantine color gray.9",
4354
4391
  value: "var(--mantine-color-gray-9)"
4355
4392
  },
4356
4393
  dark: {
4357
4394
  DEFAULT: {
4395
+ description: "Mantine color dark",
4358
4396
  value: "var(--mantine-color-dark-6)"
4359
4397
  },
4360
4398
  filled: {
4399
+ description: "Mantine color dark filled",
4361
4400
  value: "var(--mantine-color-dark-filled)"
4362
4401
  },
4363
4402
  filledHover: {
4403
+ description: "Mantine color dark filled hover",
4364
4404
  value: "var(--mantine-color-dark-filled-hover)"
4365
4405
  },
4366
4406
  light: {
4407
+ description: "Mantine color dark light",
4367
4408
  value: "var(--mantine-color-dark-light)"
4368
4409
  },
4369
4410
  lightHover: {
4411
+ description: "Mantine color dark light hover",
4370
4412
  value: "var(--mantine-color-dark-light-hover)"
4371
4413
  },
4372
4414
  lightColor: {
4415
+ description: "Mantine color dark light color",
4373
4416
  value: "var(--mantine-color-dark-light-color)"
4374
4417
  },
4375
4418
  outline: {
4419
+ description: "Mantine color dark outline",
4376
4420
  value: "var(--mantine-color-dark-outline)"
4377
4421
  },
4378
4422
  outlineHover: {
4423
+ description: "Mantine color dark outline hover",
4379
4424
  value: "var(--mantine-color-dark-outline-hover)"
4380
4425
  }
4381
4426
  },
4382
4427
  "dark[0]": {
4428
+ description: "Mantine color dark.0",
4383
4429
  value: "var(--mantine-color-dark-0)"
4384
4430
  },
4385
4431
  "dark[1]": {
4432
+ description: "Mantine color dark.1",
4386
4433
  value: "var(--mantine-color-dark-1)"
4387
4434
  },
4388
4435
  "dark[2]": {
4436
+ description: "Mantine color dark.2",
4389
4437
  value: "var(--mantine-color-dark-2)"
4390
4438
  },
4391
4439
  "dark[3]": {
4440
+ description: "Mantine color dark.3",
4392
4441
  value: "var(--mantine-color-dark-3)"
4393
4442
  },
4394
4443
  "dark[4]": {
4444
+ description: "Mantine color dark.4",
4395
4445
  value: "var(--mantine-color-dark-4)"
4396
4446
  },
4397
4447
  "dark[5]": {
4448
+ description: "Mantine color dark.5",
4398
4449
  value: "var(--mantine-color-dark-5)"
4399
4450
  },
4400
4451
  "dark[6]": {
4452
+ description: "Mantine color dark.6",
4401
4453
  value: "var(--mantine-color-dark-6)"
4402
4454
  },
4403
4455
  "dark[7]": {
4456
+ description: "Mantine color dark.7",
4404
4457
  value: "var(--mantine-color-dark-7)"
4405
4458
  },
4406
4459
  "dark[8]": {
4460
+ description: "Mantine color dark.8",
4407
4461
  value: "var(--mantine-color-dark-8)"
4408
4462
  },
4409
4463
  "dark[9]": {
4464
+ description: "Mantine color dark.9",
4410
4465
  value: "var(--mantine-color-dark-9)"
4411
4466
  },
4412
4467
  orange: {
4413
4468
  DEFAULT: {
4469
+ description: "Mantine color orange",
4414
4470
  value: "var(--mantine-color-orange-6)"
4415
4471
  },
4416
4472
  filled: {
4473
+ description: "Mantine color orange filled",
4417
4474
  value: "var(--mantine-color-orange-filled)"
4418
4475
  },
4419
4476
  filledHover: {
4477
+ description: "Mantine color orange filled hover",
4420
4478
  value: "var(--mantine-color-orange-filled-hover)"
4421
4479
  },
4422
4480
  light: {
4481
+ description: "Mantine color orange light",
4423
4482
  value: "var(--mantine-color-orange-light)"
4424
4483
  },
4425
4484
  lightHover: {
4485
+ description: "Mantine color orange light hover",
4426
4486
  value: "var(--mantine-color-orange-light-hover)"
4427
4487
  },
4428
4488
  lightColor: {
4489
+ description: "Mantine color orange light color",
4429
4490
  value: "var(--mantine-color-orange-light-color)"
4430
4491
  },
4431
4492
  outline: {
4493
+ description: "Mantine color orange outline",
4432
4494
  value: "var(--mantine-color-orange-outline)"
4433
4495
  },
4434
4496
  outlineHover: {
4497
+ description: "Mantine color orange outline hover",
4435
4498
  value: "var(--mantine-color-orange-outline-hover)"
4436
4499
  }
4437
4500
  },
4438
4501
  "orange[0]": {
4502
+ description: "Mantine color orange.0",
4439
4503
  value: "var(--mantine-color-orange-0)"
4440
4504
  },
4441
4505
  "orange[1]": {
4506
+ description: "Mantine color orange.1",
4442
4507
  value: "var(--mantine-color-orange-1)"
4443
4508
  },
4444
4509
  "orange[2]": {
4510
+ description: "Mantine color orange.2",
4445
4511
  value: "var(--mantine-color-orange-2)"
4446
4512
  },
4447
4513
  "orange[3]": {
4514
+ description: "Mantine color orange.3",
4448
4515
  value: "var(--mantine-color-orange-3)"
4449
4516
  },
4450
4517
  "orange[4]": {
4518
+ description: "Mantine color orange.4",
4451
4519
  value: "var(--mantine-color-orange-4)"
4452
4520
  },
4453
4521
  "orange[5]": {
4522
+ description: "Mantine color orange.5",
4454
4523
  value: "var(--mantine-color-orange-5)"
4455
4524
  },
4456
4525
  "orange[6]": {
4526
+ description: "Mantine color orange.6",
4457
4527
  value: "var(--mantine-color-orange-6)"
4458
4528
  },
4459
4529
  "orange[7]": {
4530
+ description: "Mantine color orange.7",
4460
4531
  value: "var(--mantine-color-orange-7)"
4461
4532
  },
4462
4533
  "orange[8]": {
4534
+ description: "Mantine color orange.8",
4463
4535
  value: "var(--mantine-color-orange-8)"
4464
4536
  },
4465
4537
  "orange[9]": {
4538
+ description: "Mantine color orange.9",
4466
4539
  value: "var(--mantine-color-orange-9)"
4467
4540
  },
4468
4541
  teal: {
4469
4542
  DEFAULT: {
4543
+ description: "Mantine color teal",
4470
4544
  value: "var(--mantine-color-teal-6)"
4471
4545
  },
4472
4546
  filled: {
4547
+ description: "Mantine color teal filled",
4473
4548
  value: "var(--mantine-color-teal-filled)"
4474
4549
  },
4475
4550
  filledHover: {
4551
+ description: "Mantine color teal filled hover",
4476
4552
  value: "var(--mantine-color-teal-filled-hover)"
4477
4553
  },
4478
4554
  light: {
4555
+ description: "Mantine color teal light",
4479
4556
  value: "var(--mantine-color-teal-light)"
4480
4557
  },
4481
4558
  lightHover: {
4559
+ description: "Mantine color teal light hover",
4482
4560
  value: "var(--mantine-color-teal-light-hover)"
4483
4561
  },
4484
4562
  lightColor: {
4563
+ description: "Mantine color teal light color",
4485
4564
  value: "var(--mantine-color-teal-light-color)"
4486
4565
  },
4487
4566
  outline: {
4567
+ description: "Mantine color teal outline",
4488
4568
  value: "var(--mantine-color-teal-outline)"
4489
4569
  },
4490
4570
  outlineHover: {
4571
+ description: "Mantine color teal outline hover",
4491
4572
  value: "var(--mantine-color-teal-outline-hover)"
4492
4573
  }
4493
4574
  },
4494
4575
  "teal[0]": {
4576
+ description: "Mantine color teal.0",
4495
4577
  value: "var(--mantine-color-teal-0)"
4496
4578
  },
4497
4579
  "teal[1]": {
4580
+ description: "Mantine color teal.1",
4498
4581
  value: "var(--mantine-color-teal-1)"
4499
4582
  },
4500
4583
  "teal[2]": {
4584
+ description: "Mantine color teal.2",
4501
4585
  value: "var(--mantine-color-teal-2)"
4502
4586
  },
4503
4587
  "teal[3]": {
4588
+ description: "Mantine color teal.3",
4504
4589
  value: "var(--mantine-color-teal-3)"
4505
4590
  },
4506
4591
  "teal[4]": {
4592
+ description: "Mantine color teal.4",
4507
4593
  value: "var(--mantine-color-teal-4)"
4508
4594
  },
4509
4595
  "teal[5]": {
4596
+ description: "Mantine color teal.5",
4510
4597
  value: "var(--mantine-color-teal-5)"
4511
4598
  },
4512
4599
  "teal[6]": {
4600
+ description: "Mantine color teal.6",
4513
4601
  value: "var(--mantine-color-teal-6)"
4514
4602
  },
4515
4603
  "teal[7]": {
4604
+ description: "Mantine color teal.7",
4516
4605
  value: "var(--mantine-color-teal-7)"
4517
4606
  },
4518
4607
  "teal[8]": {
4608
+ description: "Mantine color teal.8",
4519
4609
  value: "var(--mantine-color-teal-8)"
4520
4610
  },
4521
4611
  "teal[9]": {
4612
+ description: "Mantine color teal.9",
4522
4613
  value: "var(--mantine-color-teal-9)"
4523
4614
  },
4524
4615
  red: {
4525
4616
  DEFAULT: {
4617
+ description: "Mantine color red",
4526
4618
  value: "var(--mantine-color-red-6)"
4527
4619
  },
4528
4620
  filled: {
4621
+ description: "Mantine color red filled",
4529
4622
  value: "var(--mantine-color-red-filled)"
4530
4623
  },
4531
4624
  filledHover: {
4625
+ description: "Mantine color red filled hover",
4532
4626
  value: "var(--mantine-color-red-filled-hover)"
4533
4627
  },
4534
4628
  light: {
4629
+ description: "Mantine color red light",
4535
4630
  value: "var(--mantine-color-red-light)"
4536
4631
  },
4537
4632
  lightHover: {
4633
+ description: "Mantine color red light hover",
4538
4634
  value: "var(--mantine-color-red-light-hover)"
4539
4635
  },
4540
4636
  lightColor: {
4637
+ description: "Mantine color red light color",
4541
4638
  value: "var(--mantine-color-red-light-color)"
4542
4639
  },
4543
4640
  outline: {
4641
+ description: "Mantine color red outline",
4544
4642
  value: "var(--mantine-color-red-outline)"
4545
4643
  },
4546
4644
  outlineHover: {
4645
+ description: "Mantine color red outline hover",
4547
4646
  value: "var(--mantine-color-red-outline-hover)"
4548
4647
  }
4549
4648
  },
4550
4649
  "red[0]": {
4650
+ description: "Mantine color red.0",
4551
4651
  value: "var(--mantine-color-red-0)"
4552
4652
  },
4553
4653
  "red[1]": {
4654
+ description: "Mantine color red.1",
4554
4655
  value: "var(--mantine-color-red-1)"
4555
4656
  },
4556
4657
  "red[2]": {
4658
+ description: "Mantine color red.2",
4557
4659
  value: "var(--mantine-color-red-2)"
4558
4660
  },
4559
4661
  "red[3]": {
4662
+ description: "Mantine color red.3",
4560
4663
  value: "var(--mantine-color-red-3)"
4561
4664
  },
4562
4665
  "red[4]": {
4666
+ description: "Mantine color red.4",
4563
4667
  value: "var(--mantine-color-red-4)"
4564
4668
  },
4565
4669
  "red[5]": {
4670
+ description: "Mantine color red.5",
4566
4671
  value: "var(--mantine-color-red-5)"
4567
4672
  },
4568
4673
  "red[6]": {
4674
+ description: "Mantine color red.6",
4569
4675
  value: "var(--mantine-color-red-6)"
4570
4676
  },
4571
4677
  "red[7]": {
4678
+ description: "Mantine color red.7",
4572
4679
  value: "var(--mantine-color-red-7)"
4573
4680
  },
4574
4681
  "red[8]": {
4682
+ description: "Mantine color red.8",
4575
4683
  value: "var(--mantine-color-red-8)"
4576
4684
  },
4577
4685
  "red[9]": {
4686
+ description: "Mantine color red.9",
4578
4687
  value: "var(--mantine-color-red-9)"
4579
4688
  },
4580
4689
  green: {
4581
4690
  DEFAULT: {
4691
+ description: "Mantine color green",
4582
4692
  value: "var(--mantine-color-green-6)"
4583
4693
  },
4584
4694
  filled: {
4695
+ description: "Mantine color green filled",
4585
4696
  value: "var(--mantine-color-green-filled)"
4586
4697
  },
4587
4698
  filledHover: {
4699
+ description: "Mantine color green filled hover",
4588
4700
  value: "var(--mantine-color-green-filled-hover)"
4589
4701
  },
4590
4702
  light: {
4703
+ description: "Mantine color green light",
4591
4704
  value: "var(--mantine-color-green-light)"
4592
4705
  },
4593
4706
  lightHover: {
4707
+ description: "Mantine color green light hover",
4594
4708
  value: "var(--mantine-color-green-light-hover)"
4595
4709
  },
4596
4710
  lightColor: {
4711
+ description: "Mantine color green light color",
4597
4712
  value: "var(--mantine-color-green-light-color)"
4598
4713
  },
4599
4714
  outline: {
4715
+ description: "Mantine color green outline",
4600
4716
  value: "var(--mantine-color-green-outline)"
4601
4717
  },
4602
4718
  outlineHover: {
4719
+ description: "Mantine color green outline hover",
4603
4720
  value: "var(--mantine-color-green-outline-hover)"
4604
4721
  }
4605
4722
  },
4606
4723
  "green[0]": {
4724
+ description: "Mantine color green.0",
4607
4725
  value: "var(--mantine-color-green-0)"
4608
4726
  },
4609
4727
  "green[1]": {
4728
+ description: "Mantine color green.1",
4610
4729
  value: "var(--mantine-color-green-1)"
4611
4730
  },
4612
4731
  "green[2]": {
4732
+ description: "Mantine color green.2",
4613
4733
  value: "var(--mantine-color-green-2)"
4614
4734
  },
4615
4735
  "green[3]": {
4736
+ description: "Mantine color green.3",
4616
4737
  value: "var(--mantine-color-green-3)"
4617
4738
  },
4618
4739
  "green[4]": {
4740
+ description: "Mantine color green.4",
4619
4741
  value: "var(--mantine-color-green-4)"
4620
4742
  },
4621
4743
  "green[5]": {
4744
+ description: "Mantine color green.5",
4622
4745
  value: "var(--mantine-color-green-5)"
4623
4746
  },
4624
4747
  "green[6]": {
4748
+ description: "Mantine color green.6",
4625
4749
  value: "var(--mantine-color-green-6)"
4626
4750
  },
4627
4751
  "green[7]": {
4752
+ description: "Mantine color green.7",
4628
4753
  value: "var(--mantine-color-green-7)"
4629
4754
  },
4630
4755
  "green[8]": {
4756
+ description: "Mantine color green.8",
4631
4757
  value: "var(--mantine-color-green-8)"
4632
4758
  },
4633
4759
  "green[9]": {
4760
+ description: "Mantine color green.9",
4634
4761
  value: "var(--mantine-color-green-9)"
4635
4762
  },
4636
4763
  yellow: {
4637
4764
  DEFAULT: {
4765
+ description: "Mantine color yellow",
4638
4766
  value: "var(--mantine-color-yellow-6)"
4639
4767
  },
4640
4768
  filled: {
4769
+ description: "Mantine color yellow filled",
4641
4770
  value: "var(--mantine-color-yellow-filled)"
4642
4771
  },
4643
4772
  filledHover: {
4773
+ description: "Mantine color yellow filled hover",
4644
4774
  value: "var(--mantine-color-yellow-filled-hover)"
4645
4775
  },
4646
4776
  light: {
4777
+ description: "Mantine color yellow light",
4647
4778
  value: "var(--mantine-color-yellow-light)"
4648
4779
  },
4649
4780
  lightHover: {
4781
+ description: "Mantine color yellow light hover",
4650
4782
  value: "var(--mantine-color-yellow-light-hover)"
4651
4783
  },
4652
4784
  lightColor: {
4785
+ description: "Mantine color yellow light color",
4653
4786
  value: "var(--mantine-color-yellow-light-color)"
4654
4787
  },
4655
4788
  outline: {
4789
+ description: "Mantine color yellow outline",
4656
4790
  value: "var(--mantine-color-yellow-outline)"
4657
4791
  },
4658
4792
  outlineHover: {
4793
+ description: "Mantine color yellow outline hover",
4659
4794
  value: "var(--mantine-color-yellow-outline-hover)"
4660
4795
  }
4661
4796
  },
4662
4797
  "yellow[0]": {
4798
+ description: "Mantine color yellow.0",
4663
4799
  value: "var(--mantine-color-yellow-0)"
4664
4800
  },
4665
4801
  "yellow[1]": {
4802
+ description: "Mantine color yellow.1",
4666
4803
  value: "var(--mantine-color-yellow-1)"
4667
4804
  },
4668
4805
  "yellow[2]": {
4806
+ description: "Mantine color yellow.2",
4669
4807
  value: "var(--mantine-color-yellow-2)"
4670
4808
  },
4671
4809
  "yellow[3]": {
4810
+ description: "Mantine color yellow.3",
4672
4811
  value: "var(--mantine-color-yellow-3)"
4673
4812
  },
4674
4813
  "yellow[4]": {
4814
+ description: "Mantine color yellow.4",
4675
4815
  value: "var(--mantine-color-yellow-4)"
4676
4816
  },
4677
4817
  "yellow[5]": {
4818
+ description: "Mantine color yellow.5",
4678
4819
  value: "var(--mantine-color-yellow-5)"
4679
4820
  },
4680
4821
  "yellow[6]": {
4822
+ description: "Mantine color yellow.6",
4681
4823
  value: "var(--mantine-color-yellow-6)"
4682
4824
  },
4683
4825
  "yellow[7]": {
4826
+ description: "Mantine color yellow.7",
4684
4827
  value: "var(--mantine-color-yellow-7)"
4685
4828
  },
4686
4829
  "yellow[8]": {
4830
+ description: "Mantine color yellow.8",
4687
4831
  value: "var(--mantine-color-yellow-8)"
4688
4832
  },
4689
4833
  "yellow[9]": {
4834
+ description: "Mantine color yellow.9",
4690
4835
  value: "var(--mantine-color-yellow-9)"
4691
4836
  }
4692
4837
  }
@@ -4713,19 +4858,6 @@ const theme$1 = {
4713
4858
  semanticTokens: {
4714
4859
  colors: {
4715
4860
  likec4: {
4716
- background: {
4717
- DEFAULT: {
4718
- description: "Background color",
4719
- value: "{colors.mantine.colors.body}"
4720
- },
4721
- pattern: {
4722
- description: "Background pattern color",
4723
- value: {
4724
- base: "{colors.mantine.colors.dark[5]}",
4725
- _light: "{colors.mantine.colors.gray[4]}"
4726
- }
4727
- }
4728
- },
4729
4861
  amber: {
4730
4862
  element: {
4731
4863
  fill: {
@@ -6251,6 +6383,7 @@ const conditions = {
6251
6383
  extend: {
6252
6384
  light: '[data-mantine-color-scheme="light"] &',
6253
6385
  dark: '[data-mantine-color-scheme="dark"] &',
6386
+ notDisabled: "&:not(:is(:disabled, [disabled], [data-disabled]))",
6254
6387
  // This is used to hide certain elements when the diagram is in reduced graphics mode (large)
6255
6388
  reduceGraphics: [
6256
6389
  `${root}:is([data-likec4-reduced-graphics])`,
@@ -6298,7 +6431,7 @@ const patterns = {
6298
6431
  };
6299
6432
  const actionBtn = defineRecipe({
6300
6433
  className: "action-btn",
6301
- description: "The styles for the Action Buttons",
6434
+ description: "Action Button within Diagram Node (Bottom-Center)",
6302
6435
  base: {
6303
6436
  pointerEvents: "all",
6304
6437
  cursor: "pointer",
@@ -6367,7 +6500,7 @@ const actionBtn = defineRecipe({
6367
6500
  size: ["md"],
6368
6501
  radius: ["md"],
6369
6502
  variant: ["*"],
6370
- conditions: ["whenHovered", "hover", "reducedGraphics"]
6503
+ conditions: ["*"]
6371
6504
  }]
6372
6505
  });
6373
6506
  const likec4tag = defineRecipe({
@@ -6425,6 +6558,7 @@ const likec4tag = defineRecipe({
6425
6558
  const markdownBlock = defineRecipe({
6426
6559
  className: "likec4-markdown-block",
6427
6560
  jsx: ["MarkdownBlock"],
6561
+ description: "Block with Markdown content",
6428
6562
  base: {
6429
6563
  pointerEvents: "all",
6430
6564
  "--text-fz": "1rem",
@@ -6564,7 +6698,7 @@ const markdownBlock = defineRecipe({
6564
6698
  '& :where(ul, ol):not([data-type="taskList"])': {
6565
6699
  marginBottom: "var(--typography-spacing)",
6566
6700
  paddingInlineStart: "var(--typography-spacing)",
6567
- listStylePosition: "outside"
6701
+ listStylePosition: "inside"
6568
6702
  },
6569
6703
  "& :where(table)": {
6570
6704
  width: "100%",
@@ -6654,15 +6788,341 @@ const markdownBlock = defineRecipe({
6654
6788
  uselikec4palette: false
6655
6789
  },
6656
6790
  staticCss: [{
6657
- uselikec4palette: ["true"],
6658
- conditions: ["hover"]
6791
+ uselikec4palette: ["*"],
6792
+ conditions: ["*"]
6793
+ }]
6794
+ });
6795
+ const navigationPanelActionIcon = defineRecipe({
6796
+ className: "likec4-navigation-panel-icon",
6797
+ jsx: ["PanelActionIcon"],
6798
+ description: "ActionIcon for navigation panel",
6799
+ base: {
6800
+ color: {
6801
+ base: "likec4.panel.action-icon.text",
6802
+ _disabled: "likec4.panel.action-icon.text.disabled",
6803
+ _notDisabled: {
6804
+ _hover: "likec4.panel.action-icon.text.hover"
6805
+ }
6806
+ },
6807
+ _disabled: {
6808
+ opacity: 0.5
6809
+ }
6810
+ },
6811
+ variants: {
6812
+ variant: {
6813
+ "default": {
6814
+ backgroundColor: {
6815
+ base: "[transparent]",
6816
+ _notDisabled: {
6817
+ _hover: "likec4.panel.action-icon.bg.hover"
6818
+ }
6819
+ }
6820
+ },
6821
+ "filled": {
6822
+ backgroundColor: {
6823
+ base: "likec4.panel.action-icon.bg",
6824
+ _notDisabled: {
6825
+ _hover: "likec4.panel.action-icon.bg.hover"
6826
+ }
6827
+ }
6828
+ }
6829
+ }
6830
+ },
6831
+ defaultVariants: {
6832
+ variant: "default"
6833
+ },
6834
+ staticCss: [{
6835
+ variant: ["*"],
6836
+ conditions: ["*"]
6837
+ }]
6838
+ });
6839
+ const varIconSize = `var(${iconSize})`;
6840
+ const elementNodeIcon = defineRecipe({
6841
+ className: "likec4-element-node-icon",
6842
+ description: "Element Icon displayed in diagram nodes",
6843
+ base: {
6844
+ flex: `0 0 ${varIconSize}`,
6845
+ height: varIconSize,
6846
+ width: varIconSize,
6847
+ display: "flex",
6848
+ alignSelf: "flex-start",
6849
+ alignItems: "center",
6850
+ justifyContent: "center",
6851
+ mixBlendMode: {
6852
+ base: "hard-light",
6853
+ _reduceGraphicsOnPan: "normal"
6854
+ },
6855
+ "& svg, & img": {
6856
+ width: "100%",
6857
+ height: "auto",
6858
+ maxHeight: "100%",
6859
+ pointerEvents: "none",
6860
+ filter: {
6861
+ base: [
6862
+ "drop-shadow(0 0 3px rgb(0 0 0 / 12%))",
6863
+ "drop-shadow(0 1px 8px rgb(0 0 0 / 8%))",
6864
+ "drop-shadow(1px 1px 16px rgb(0 0 0 / 3%))"
6865
+ ],
6866
+ _reduceGraphicsOnPan: "none"
6867
+ }
6868
+ },
6869
+ "& img": {
6870
+ objectFit: "contain"
6871
+ }
6872
+ },
6873
+ staticCss: [{
6874
+ conditions: ["*"]
6659
6875
  }]
6660
6876
  });
6661
6877
  const recipes = {
6662
6878
  __proto__: null,
6663
6879
  actionBtn,
6880
+ elementNodeIcon,
6664
6881
  likec4tag,
6665
- markdownBlock
6882
+ markdownBlock,
6883
+ navigationPanelActionIcon
6884
+ };
6885
+ const title = {
6886
+ textStyle: "likec4.node.primary",
6887
+ flex: "0 0 auto",
6888
+ textAlign: "center",
6889
+ color: "likec4.palette.hiContrast"
6890
+ };
6891
+ const description = {
6892
+ flexGrow: "0",
6893
+ flexShrink: "1",
6894
+ textStyle: "likec4.node.secondary",
6895
+ color: "likec4.palette.loContrast",
6896
+ textAlign: "center",
6897
+ textOverflow: "ellipsis",
6898
+ overflow: "hidden",
6899
+ _shapeSizeXs: {
6900
+ display: "none"
6901
+ },
6902
+ _smallZoom: {
6903
+ display: "none"
6904
+ }
6905
+ };
6906
+ const technology = {
6907
+ flex: "0 0 auto",
6908
+ textStyle: "likec4.node.secondary",
6909
+ color: "likec4.palette.loContrast",
6910
+ fontSize: `calc(var(--likec4-text-size) * 0.635)`,
6911
+ lineHeight: 1.125,
6912
+ textAlign: "center",
6913
+ textWrap: "balance",
6914
+ opacity: 0.92,
6915
+ _whenHovered: {
6916
+ opacity: 1
6917
+ },
6918
+ _shapeSizeXs: {
6919
+ display: "none"
6920
+ },
6921
+ _shapeSizeSm: {
6922
+ display: "none"
6923
+ },
6924
+ _smallZoom: {
6925
+ display: "none"
6926
+ }
6927
+ };
6928
+ const elementNodeData = defineSlotRecipe({
6929
+ className: "likec4-el-node-data",
6930
+ slots: ["root", "textContainer", "title", "description", "technology", "icon"],
6931
+ base: {
6932
+ root: {
6933
+ position: "relative",
6934
+ flex: "1",
6935
+ height: "fit-content",
6936
+ width: "fit-content",
6937
+ maxHeight: "100%",
6938
+ maxWidth: "100%",
6939
+ margin: "0 auto",
6940
+ display: "flex",
6941
+ alignItems: "center",
6942
+ justifyContent: "center",
6943
+ flexDirection: "row",
6944
+ paddingTop: "var(--likec4-spacing)",
6945
+ paddingBottom: "var(--likec4-spacing)",
6946
+ paddingLeft: "calc(var(--likec4-spacing) + 8px)",
6947
+ paddingRight: "calc(var(--likec4-spacing) + 8px)",
6948
+ overflow: "hidden",
6949
+ pointerEvents: "none",
6950
+ gap: "12px",
6951
+ _shapeQueue: {
6952
+ paddingLeft: "46px",
6953
+ paddingRight: "16px"
6954
+ },
6955
+ _shapeMobile: {
6956
+ paddingLeft: "46px",
6957
+ paddingRight: "16px"
6958
+ },
6959
+ _shapeCylinder: {
6960
+ paddingTop: "30px"
6961
+ },
6962
+ _shapeStorage: {
6963
+ paddingTop: "30px"
6964
+ },
6965
+ _shapeBrowser: {
6966
+ paddingTop: "32px",
6967
+ paddingBottom: "28px"
6968
+ },
6969
+ _shapeSizeXs: {
6970
+ [iconSize]: "24px"
6971
+ },
6972
+ _shapeSizeSm: {
6973
+ [iconSize]: "36px"
6974
+ },
6975
+ _shapeSizeMd: {
6976
+ [iconSize]: "60px"
6977
+ },
6978
+ _shapeSizeLg: {
6979
+ [iconSize]: "82px",
6980
+ gap: "16px"
6981
+ },
6982
+ _shapeSizeXl: {
6983
+ [iconSize]: "90px",
6984
+ gap: "16px"
6985
+ }
6986
+ },
6987
+ textContainer: {
6988
+ height: "fit-content",
6989
+ width: "fit-content",
6990
+ maxHeight: "100%",
6991
+ maxWidth: "100%",
6992
+ flex: "0 1 auto",
6993
+ display: "flex",
6994
+ flexDirection: "column",
6995
+ alignItems: "stretch",
6996
+ justifyContent: "center",
6997
+ flexWrap: "nowrap",
6998
+ overflow: "hidden",
6999
+ gap: "8px"
7000
+ },
7001
+ title,
7002
+ description,
7003
+ technology
7004
+ },
7005
+ variants: {
7006
+ hasIcon: {
7007
+ false: {},
7008
+ true: {
7009
+ root: {
7010
+ gap: "16px"
7011
+ },
7012
+ textContainer: {
7013
+ minWidth: `calc(50% + var(${iconSize}))`,
7014
+ alignItems: "flex-start"
7015
+ },
7016
+ title: {
7017
+ textAlign: "left"
7018
+ },
7019
+ description: {
7020
+ textAlign: "left"
7021
+ },
7022
+ technology: {
7023
+ textAlign: "left"
7024
+ }
7025
+ }
7026
+ },
7027
+ hasDescription: {
7028
+ false: {},
7029
+ true: {}
7030
+ },
7031
+ hasTechnology: {
7032
+ false: {},
7033
+ true: {}
7034
+ }
7035
+ },
7036
+ compoundVariants: [
7037
+ {
7038
+ hasDescription: true,
7039
+ hasTechnology: true,
7040
+ css: {
7041
+ textContainer: {
7042
+ gap: "6px"
7043
+ }
7044
+ }
7045
+ }
7046
+ ],
7047
+ defaultVariants: {
7048
+ hasIcon: false
7049
+ },
7050
+ staticCss: [{
7051
+ hasIcon: ["*"],
7052
+ hasDescription: ["*"],
7053
+ hasTechnology: ["*"],
7054
+ conditions: ["*"]
7055
+ }]
7056
+ });
7057
+ const navigationLink = defineSlotRecipe({
7058
+ className: "likec4-navlink",
7059
+ description: "Navigation Link (classes for Mantine NavLink)",
7060
+ jsx: ["NavLink"],
7061
+ slots: ["root", "body", "section", "label", "description"],
7062
+ base: {
7063
+ root: {
7064
+ rounded: "sm",
7065
+ px: "xs",
7066
+ py: "2xs",
7067
+ backgroundColor: {
7068
+ _hover: {
7069
+ "&:not([data-active])": {
7070
+ base: "mantine.colors.gray[1]",
7071
+ _dark: "mantine.colors.dark[5]"
7072
+ }
7073
+ }
7074
+ }
7075
+ },
7076
+ body: {
7077
+ gap: "2",
7078
+ display: "flex",
7079
+ flexDirection: "column"
7080
+ },
7081
+ section: {
7082
+ '&:where([data-position="left"])': {
7083
+ marginInlineEnd: "2xs"
7084
+ // alignSelf: 'flex-start',
7085
+ }
7086
+ },
7087
+ label: {
7088
+ display: "block",
7089
+ fontSize: "sm",
7090
+ fontWeight: "500",
7091
+ lineHeight: 1.2
7092
+ },
7093
+ description: {
7094
+ display: "block",
7095
+ fontSize: "xxs",
7096
+ lineHeight: 1.2
7097
+ }
7098
+ },
7099
+ variants: {
7100
+ truncateLabel: {
7101
+ "true": {
7102
+ label: {
7103
+ width: "100%",
7104
+ truncate: true
7105
+ },
7106
+ description: {
7107
+ width: "100%",
7108
+ truncate: true
7109
+ }
7110
+ },
7111
+ "false": {}
7112
+ }
7113
+ },
7114
+ defaultVariants: {
7115
+ truncateLabel: false
7116
+ },
7117
+ staticCss: [{
7118
+ truncateLabel: ["*"],
7119
+ conditions: ["*"]
7120
+ }]
7121
+ });
7122
+ const slotRecipes = {
7123
+ __proto__: null,
7124
+ elementNodeData,
7125
+ navigationLink
6666
7126
  };
6667
7127
  const layerStyles = defineLayerStyles({
6668
7128
  likec4: {
@@ -6677,6 +7137,45 @@ const layerStyles = defineLayerStyles({
6677
7137
  border: "none",
6678
7138
  borderRadius: 3
6679
7139
  }
7140
+ },
7141
+ panel: {
7142
+ description: "LikeC4 panel layer",
7143
+ value: {
7144
+ paddingInline: "xs",
7145
+ paddingBlock: "2xs",
7146
+ backgroundColor: {
7147
+ base: "likec4.panel.bg",
7148
+ _whenPanning: "likec4.panel.bg.whenPanning"
7149
+ },
7150
+ boxShadow: "lg",
7151
+ border: "1px solid {colors.likec4.panel.border}",
7152
+ borderRadius: "md",
7153
+ backdropFilter: "blur(10px)",
7154
+ _whenPanning: {
7155
+ boxShadow: "none",
7156
+ borderRadius: 0
7157
+ },
7158
+ smDown: {
7159
+ padding: "4",
7160
+ borderRadius: 0
7161
+ }
7162
+ }
7163
+ },
7164
+ dropdown: {
7165
+ description: "LikeC4 dropdown layer",
7166
+ value: {
7167
+ paddingInline: "2xs",
7168
+ paddingBlock: "2xs",
7169
+ backgroundColor: "likec4.dropdown.bg",
7170
+ border: "1px solid {colors.likec4.dropdown.border}",
7171
+ boxShadow: "lg",
7172
+ borderRadius: "md",
7173
+ _whenPanning: {
7174
+ boxShadow: "none",
7175
+ borderRadius: "0px",
7176
+ borderColor: "transparent"
7177
+ }
7178
+ }
6680
7179
  }
6681
7180
  }
6682
7181
  });
@@ -6691,6 +7190,19 @@ const semanticTokens = defineSemanticTokens({
6691
7190
  },
6692
7191
  colors: {
6693
7192
  likec4: {
7193
+ background: {
7194
+ DEFAULT: {
7195
+ description: "Background color",
7196
+ value: "{colors.mantine.colors.body}"
7197
+ },
7198
+ pattern: {
7199
+ description: "Background pattern color",
7200
+ value: {
7201
+ base: "{colors.mantine.colors.dark[5]}",
7202
+ _light: "{colors.mantine.colors.gray[4]}"
7203
+ }
7204
+ }
7205
+ },
6694
7206
  mixColor: {
6695
7207
  description: "Color to be used in color-mix",
6696
7208
  value: {
@@ -6726,6 +7238,78 @@ const semanticTokens = defineSemanticTokens({
6726
7238
  DEFAULT: { value: "{colors.likec4.gray.relation.label}" },
6727
7239
  bg: { value: "{colors.likec4.gray.relation.label.bg}" }
6728
7240
  }
7241
+ },
7242
+ panel: {
7243
+ bg: {
7244
+ DEFAULT: {
7245
+ description: "LikeC4 panel background color",
7246
+ value: {
7247
+ base: `{colors.mantine.colors.body/90}`,
7248
+ _dark: `{colors.mantine.colors.dark[6]/80}`
7249
+ }
7250
+ },
7251
+ whenPanning: {
7252
+ description: "LikeC4 panel background color when panning",
7253
+ value: {
7254
+ base: `{colors.mantine.colors.body}`,
7255
+ _dark: `{colors.mantine.colors.dark[6]}`
7256
+ }
7257
+ }
7258
+ },
7259
+ border: {
7260
+ description: "LikeC4 panel border color",
7261
+ value: {
7262
+ base: "transparent",
7263
+ _light: `{colors.mantine.colors.defaultBorder/30}`
7264
+ }
7265
+ },
7266
+ "action-icon": {
7267
+ text: {
7268
+ DEFAULT: {
7269
+ description: "LikeC4 action icon text color",
7270
+ value: "{colors.mantine.colors.text/70}"
7271
+ },
7272
+ hover: {
7273
+ description: "LikeC4 action icon text color on hover",
7274
+ value: "{colors.mantine.colors.text}"
7275
+ },
7276
+ disabled: {
7277
+ description: "LikeC4 action icon text color when disabled",
7278
+ value: "{colors.mantine.colors.dimmed}"
7279
+ }
7280
+ },
7281
+ bg: {
7282
+ DEFAULT: {
7283
+ description: "LikeC4 action icon background color",
7284
+ value: {
7285
+ base: "{colors.mantine.colors.gray[1]}",
7286
+ _dark: "{colors.mantine.colors.dark[7]/70}"
7287
+ }
7288
+ },
7289
+ hover: {
7290
+ description: "LikeC4 action icon background color on hover",
7291
+ value: {
7292
+ base: "{colors.mantine.colors.gray[2]}",
7293
+ _dark: "{colors.mantine.colors.dark[8]}"
7294
+ }
7295
+ }
7296
+ }
7297
+ }
7298
+ },
7299
+ dropdown: {
7300
+ bg: {
7301
+ DEFAULT: {
7302
+ description: "LikeC4 dropdown background color",
7303
+ value: {
7304
+ base: `#FFF`,
7305
+ _dark: `{colors.mantine.colors.dark[6]}`
7306
+ }
7307
+ }
7308
+ },
7309
+ border: {
7310
+ description: "LikeC4 dropdown border color",
7311
+ value: "{colors.likec4.panel.border}"
7312
+ }
6729
7313
  }
6730
7314
  }
6731
7315
  }
@@ -6738,7 +7322,7 @@ const textStyles = defineTextStyles({
6738
7322
  value: {
6739
7323
  fontFamily: "var(--likec4-element-font, {fonts.likec4})",
6740
7324
  fontWeight: 500,
6741
- fontSize: "[var(--likec4-text-size)]",
7325
+ fontSize: "var(--likec4-text-size)",
6742
7326
  lineHeight: 1.15,
6743
7327
  textWrapStyle: "balance",
6744
7328
  whiteSpace: "preserve-breaks"
@@ -6749,7 +7333,7 @@ const textStyles = defineTextStyles({
6749
7333
  value: {
6750
7334
  fontFamily: "var(--likec4-element-font, {fonts.likec4})",
6751
7335
  fontWeight: 400,
6752
- fontSize: `[var(--likec4-text-size) * 0.74]`,
7336
+ fontSize: `[calc(var(--likec4-text-size) * 0.74)]`,
6753
7337
  lineHeight: 1.3,
6754
7338
  textWrapStyle: "pretty",
6755
7339
  "--text-fz": `[calc(var(--likec4-text-size) * 0.74)]`
@@ -6836,6 +7420,7 @@ const theme = {
6836
7420
  tokens,
6837
7421
  semanticTokens,
6838
7422
  recipes,
7423
+ slotRecipes,
6839
7424
  keyframes: {
6840
7425
  "indicatorStrokeOpacity": {
6841
7426
  "0%": {
@@ -6976,6 +7561,11 @@ const index = definePreset({
6976
7561
  syntax: "<length-percentage>",
6977
7562
  inherits: false
6978
7563
  // initialValue: '1rem',
7564
+ },
7565
+ [iconSize]: {
7566
+ syntax: "<length-percentage>",
7567
+ inherits: false
7568
+ // initialValue: '1rem',
6979
7569
  }
6980
7570
  }
6981
7571
  },
@@ -6990,8 +7580,8 @@ const index = definePreset({
6990
7580
  },
6991
7581
  ".likec4-shadow-root": {
6992
7582
  display: "contents",
6993
- "--mantine-font-family": "var(--likec4-app-font-default)",
6994
- "--mantine-font-family-headings": "var(--likec4-app-font-default)"
7583
+ "--mantine-font-family": "var(--likec4-app-font, var(--likec4-app-font-default))",
7584
+ "--mantine-font-family-headings": "var(--likec4-app-font, var(--likec4-app-font-default))"
6995
7585
  },
6996
7586
  [`${root}`]: {
6997
7587
  overflow: "hidden",
@@ -7000,7 +7590,9 @@ const index = definePreset({
7000
7590
  height: "100%",
7001
7591
  padding: "0px",
7002
7592
  margin: "0px",
7003
- border: "0px solid transparent"
7593
+ border: "0px solid transparent",
7594
+ containerName: "likec4-root",
7595
+ containerType: "size"
7004
7596
  },
7005
7597
  [`${root} .react-flow:is(.not-initialized)`]: {
7006
7598
  opacity: 0