@youcan/celeste 0.16.0 → 0.17.1

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.
Files changed (86) hide show
  1. package/ai/README.md +1 -1
  2. package/ai/component-registry.json +333 -3
  3. package/ai/icons.json +2 -2
  4. package/ai/tokens.json +2 -2
  5. package/dist/celeste.css +237 -214
  6. package/dist/cjs/chunks/DrawerDescription.cjs +37 -0
  7. package/dist/cjs/chunks/DrawerTitle.cjs +37 -0
  8. package/dist/cjs/chunks/components.cjs +29 -11
  9. package/dist/cjs/chunks/dialog-body.cjs +46 -0
  10. package/dist/cjs/chunks/dialog-close.cjs +31 -0
  11. package/dist/cjs/chunks/dialog-content.cjs +39 -0
  12. package/dist/cjs/chunks/dialog-description.cjs +37 -0
  13. package/dist/cjs/chunks/dialog-footer.cjs +46 -0
  14. package/dist/cjs/chunks/dialog-header.cjs +39 -0
  15. package/dist/cjs/chunks/dialog-title.cjs +37 -0
  16. package/dist/cjs/chunks/dialog-trigger.cjs +31 -0
  17. package/dist/cjs/chunks/dialog.cjs +76 -0
  18. package/dist/cjs/chunks/drawer-description.cjs +2 -31
  19. package/dist/cjs/chunks/drawer-header.cjs +1 -1
  20. package/dist/cjs/chunks/drawer-title.cjs +2 -31
  21. package/dist/cjs/chunks/modal-content.cjs +1 -1
  22. package/dist/cjs/context.cjs +6 -0
  23. package/dist/cjs/dialog-body.cjs +2 -0
  24. package/dist/cjs/dialog-close.cjs +2 -0
  25. package/dist/cjs/dialog-content.cjs +2 -0
  26. package/dist/cjs/dialog-description.cjs +2 -0
  27. package/dist/cjs/dialog-footer.cjs +2 -0
  28. package/dist/cjs/dialog-header.cjs +2 -0
  29. package/dist/cjs/dialog-title.cjs +2 -0
  30. package/dist/cjs/dialog-trigger.cjs +2 -0
  31. package/dist/cjs/dialog.cjs +2 -0
  32. package/dist/cjs/index.cjs +29 -11
  33. package/dist/components/dialog/context.d.ts +14 -0
  34. package/dist/components/dialog/dialog-body.d.ts +19 -0
  35. package/dist/components/dialog/dialog-close.d.ts +15 -0
  36. package/dist/components/dialog/dialog-content.d.ts +19 -0
  37. package/dist/components/dialog/dialog-description.d.ts +17 -0
  38. package/dist/components/dialog/dialog-footer.d.ts +19 -0
  39. package/dist/components/dialog/dialog-header.d.ts +13 -0
  40. package/dist/components/dialog/dialog-title.d.ts +17 -0
  41. package/dist/components/dialog/dialog-trigger.d.ts +15 -0
  42. package/dist/components/dialog/dialog.d.ts +28 -0
  43. package/dist/components/dialog/index.d.ts +18 -0
  44. package/dist/components/index.d.ts +1 -0
  45. package/dist/es/chunks/DrawerDescription.js +32 -0
  46. package/dist/es/chunks/DrawerTitle.js +32 -0
  47. package/dist/es/chunks/components.js +29 -11
  48. package/dist/es/chunks/dialog-body.js +39 -0
  49. package/dist/es/chunks/dialog-close.js +26 -0
  50. package/dist/es/chunks/dialog-content.js +34 -0
  51. package/dist/es/chunks/dialog-description.js +30 -0
  52. package/dist/es/chunks/dialog-footer.js +39 -0
  53. package/dist/es/chunks/dialog-header.js +34 -0
  54. package/dist/es/chunks/dialog-title.js +30 -0
  55. package/dist/es/chunks/dialog-trigger.js +26 -0
  56. package/dist/es/chunks/dialog.js +71 -0
  57. package/dist/es/chunks/drawer-description.js +1 -29
  58. package/dist/es/chunks/drawer-header.js +1 -1
  59. package/dist/es/chunks/drawer-title.js +1 -29
  60. package/dist/es/chunks/modal-content.js +1 -1
  61. package/dist/es/context.js +5 -0
  62. package/dist/es/dialog-body.js +2 -0
  63. package/dist/es/dialog-close.js +2 -0
  64. package/dist/es/dialog-content.js +2 -0
  65. package/dist/es/dialog-description.js +2 -0
  66. package/dist/es/dialog-footer.js +2 -0
  67. package/dist/es/dialog-header.js +2 -0
  68. package/dist/es/dialog-title.js +2 -0
  69. package/dist/es/dialog-trigger.js +2 -0
  70. package/dist/es/dialog.js +2 -0
  71. package/dist/es/index.js +21 -12
  72. package/package.json +3 -3
  73. package/src/components/dialog/context.ts +4 -0
  74. package/src/components/dialog/dialog-body.vue +30 -0
  75. package/src/components/dialog/dialog-close.vue +16 -0
  76. package/src/components/dialog/dialog-content.vue +23 -0
  77. package/src/components/dialog/dialog-description.vue +28 -0
  78. package/src/components/dialog/dialog-footer.vue +32 -0
  79. package/src/components/dialog/dialog-header.vue +29 -0
  80. package/src/components/dialog/dialog-title.vue +28 -0
  81. package/src/components/dialog/dialog-trigger.vue +16 -0
  82. package/src/components/dialog/dialog.vue +38 -0
  83. package/src/components/dialog/index.ts +18 -0
  84. package/src/components/dialog/stories/dialog.stories.ts +74 -0
  85. package/src/components/index.ts +1 -0
  86. package/src/components/modal/modal-content.vue +1 -0
package/ai/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Celeste agent indexes
2
2
 
3
- Generated from source for `@youcan/celeste@0.16.0`. Do not edit.
3
+ Generated from source for `@youcan/celeste@0.17.1`. Do not edit.
4
4
 
5
5
  - `component-registry.json` — every component's props, events, slots, story and usage example, and
6
6
  every exported helper such as `toast`
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.16.0",
4
- "generatedAt": "2026-09-29T10:07:33.539Z",
3
+ "version": "0.17.1",
4
+ "generatedAt": "2026-10-04T16:10:00.252Z",
5
5
  "components": {
6
6
  "Alert": {
7
7
  "name": "Alert",
@@ -3072,6 +3072,336 @@
3072
3072
  "story": "src/components/date-picker/stories/date-picker.stories.ts",
3073
3073
  "hasStory": true
3074
3074
  },
3075
+ "Dialog": {
3076
+ "name": "Dialog",
3077
+ "group": "dialog",
3078
+ "file": "src/components/dialog/dialog.vue",
3079
+ "import": "@youcan/celeste",
3080
+ "props": [
3081
+ {
3082
+ "name": "breakpoint",
3083
+ "type": "\"sm\" | \"lg\" | \"md\" | \"xl\" | \"2xl\"",
3084
+ "values": [
3085
+ "sm",
3086
+ "lg",
3087
+ "md",
3088
+ "xl",
3089
+ "2xl"
3090
+ ],
3091
+ "required": false,
3092
+ "default": "\"sm\""
3093
+ },
3094
+ {
3095
+ "name": "class",
3096
+ "type": "unknown",
3097
+ "required": false,
3098
+ "inherited": true
3099
+ },
3100
+ {
3101
+ "name": "defaultOpen",
3102
+ "type": "boolean",
3103
+ "required": false
3104
+ },
3105
+ {
3106
+ "name": "open",
3107
+ "type": "boolean",
3108
+ "required": false,
3109
+ "default": "undefined"
3110
+ }
3111
+ ],
3112
+ "events": [
3113
+ {
3114
+ "name": "update:open",
3115
+ "type": "[value: boolean]"
3116
+ }
3117
+ ],
3118
+ "slots": [
3119
+ {
3120
+ "name": "default",
3121
+ "type": "{}"
3122
+ }
3123
+ ],
3124
+ "siblings": [
3125
+ "DialogBody",
3126
+ "DialogClose",
3127
+ "DialogContent",
3128
+ "DialogDescription",
3129
+ "DialogFooter",
3130
+ "DialogHeader",
3131
+ "DialogTitle",
3132
+ "DialogTrigger"
3133
+ ],
3134
+ "story": "src/components/dialog/stories/dialog.stories.ts",
3135
+ "usage": "<Dialog>\n <DialogTrigger>\n <Button variant=\"stroke\" intent=\"neutral\">Open dialog</Button>\n </DialogTrigger>\n <DialogContent style=\"width: 440px\">\n <DialogHeader title=\"Virtual card\" description=\"Manage the card and its recent transactions.\" icon=\"i-celeste-history-line\" />\n <DialogBody>\n Below the breakpoint this is a bottom drawer. The content style applies to the modal only.\n </DialogBody>\n <DialogFooter>\n <DialogClose>\n <Button intent=\"neutral\" variant=\"stroke\" style=\"flex: 1\">Cancel</Button>\n </DialogClose>\n <Button style=\"flex: 1\">Continue</Button>\n </DialogFooter>\n </DialogContent>\n</Dialog>",
3136
+ "hasStory": true
3137
+ },
3138
+ "DialogBody": {
3139
+ "name": "DialogBody",
3140
+ "group": "dialog",
3141
+ "file": "src/components/dialog/dialog-body.vue",
3142
+ "import": "@youcan/celeste",
3143
+ "props": [
3144
+ {
3145
+ "name": "class",
3146
+ "type": "ClassValue",
3147
+ "required": false
3148
+ }
3149
+ ],
3150
+ "events": [],
3151
+ "slots": [
3152
+ {
3153
+ "name": "default",
3154
+ "type": "{}"
3155
+ }
3156
+ ],
3157
+ "siblings": [
3158
+ "Dialog",
3159
+ "DialogClose",
3160
+ "DialogContent",
3161
+ "DialogDescription",
3162
+ "DialogFooter",
3163
+ "DialogHeader",
3164
+ "DialogTitle",
3165
+ "DialogTrigger"
3166
+ ],
3167
+ "hasStory": false
3168
+ },
3169
+ "DialogClose": {
3170
+ "name": "DialogClose",
3171
+ "group": "dialog",
3172
+ "file": "src/components/dialog/dialog-close.vue",
3173
+ "import": "@youcan/celeste",
3174
+ "props": [
3175
+ {
3176
+ "name": "class",
3177
+ "type": "unknown",
3178
+ "required": false,
3179
+ "inherited": true
3180
+ }
3181
+ ],
3182
+ "events": [],
3183
+ "slots": [
3184
+ {
3185
+ "name": "default",
3186
+ "type": "{}"
3187
+ }
3188
+ ],
3189
+ "siblings": [
3190
+ "Dialog",
3191
+ "DialogBody",
3192
+ "DialogContent",
3193
+ "DialogDescription",
3194
+ "DialogFooter",
3195
+ "DialogHeader",
3196
+ "DialogTitle",
3197
+ "DialogTrigger"
3198
+ ],
3199
+ "hasStory": false
3200
+ },
3201
+ "DialogContent": {
3202
+ "name": "DialogContent",
3203
+ "group": "dialog",
3204
+ "file": "src/components/dialog/dialog-content.vue",
3205
+ "import": "@youcan/celeste",
3206
+ "props": [
3207
+ {
3208
+ "name": "class",
3209
+ "type": "unknown",
3210
+ "required": false,
3211
+ "inherited": true
3212
+ }
3213
+ ],
3214
+ "events": [],
3215
+ "slots": [
3216
+ {
3217
+ "name": "default",
3218
+ "type": "{}"
3219
+ }
3220
+ ],
3221
+ "siblings": [
3222
+ "Dialog",
3223
+ "DialogBody",
3224
+ "DialogClose",
3225
+ "DialogDescription",
3226
+ "DialogFooter",
3227
+ "DialogHeader",
3228
+ "DialogTitle",
3229
+ "DialogTrigger"
3230
+ ],
3231
+ "hasStory": false
3232
+ },
3233
+ "DialogDescription": {
3234
+ "name": "DialogDescription",
3235
+ "group": "dialog",
3236
+ "file": "src/components/dialog/dialog-description.vue",
3237
+ "import": "@youcan/celeste",
3238
+ "props": [
3239
+ {
3240
+ "name": "class",
3241
+ "type": "ClassValue",
3242
+ "required": false
3243
+ }
3244
+ ],
3245
+ "events": [],
3246
+ "slots": [
3247
+ {
3248
+ "name": "default",
3249
+ "type": "{}"
3250
+ }
3251
+ ],
3252
+ "siblings": [
3253
+ "Dialog",
3254
+ "DialogBody",
3255
+ "DialogClose",
3256
+ "DialogContent",
3257
+ "DialogFooter",
3258
+ "DialogHeader",
3259
+ "DialogTitle",
3260
+ "DialogTrigger"
3261
+ ],
3262
+ "hasStory": false
3263
+ },
3264
+ "DialogFooter": {
3265
+ "name": "DialogFooter",
3266
+ "group": "dialog",
3267
+ "file": "src/components/dialog/dialog-footer.vue",
3268
+ "import": "@youcan/celeste",
3269
+ "props": [
3270
+ {
3271
+ "name": "class",
3272
+ "type": "ClassValue",
3273
+ "required": false
3274
+ }
3275
+ ],
3276
+ "events": [],
3277
+ "slots": [
3278
+ {
3279
+ "name": "default",
3280
+ "type": "{}"
3281
+ }
3282
+ ],
3283
+ "siblings": [
3284
+ "Dialog",
3285
+ "DialogBody",
3286
+ "DialogClose",
3287
+ "DialogContent",
3288
+ "DialogDescription",
3289
+ "DialogHeader",
3290
+ "DialogTitle",
3291
+ "DialogTrigger"
3292
+ ],
3293
+ "hasStory": false
3294
+ },
3295
+ "DialogHeader": {
3296
+ "name": "DialogHeader",
3297
+ "group": "dialog",
3298
+ "file": "src/components/dialog/dialog-header.vue",
3299
+ "import": "@youcan/celeste",
3300
+ "props": [
3301
+ {
3302
+ "name": "title",
3303
+ "type": "string",
3304
+ "required": true
3305
+ },
3306
+ {
3307
+ "name": "class",
3308
+ "type": "ClassValue",
3309
+ "required": false
3310
+ },
3311
+ {
3312
+ "name": "description",
3313
+ "type": "string",
3314
+ "required": false
3315
+ },
3316
+ {
3317
+ "name": "dismissible",
3318
+ "type": "boolean",
3319
+ "required": false,
3320
+ "default": "true"
3321
+ },
3322
+ {
3323
+ "name": "icon",
3324
+ "type": "string",
3325
+ "required": false
3326
+ }
3327
+ ],
3328
+ "events": [],
3329
+ "slots": [],
3330
+ "siblings": [
3331
+ "Dialog",
3332
+ "DialogBody",
3333
+ "DialogClose",
3334
+ "DialogContent",
3335
+ "DialogDescription",
3336
+ "DialogFooter",
3337
+ "DialogTitle",
3338
+ "DialogTrigger"
3339
+ ],
3340
+ "hasStory": false
3341
+ },
3342
+ "DialogTitle": {
3343
+ "name": "DialogTitle",
3344
+ "group": "dialog",
3345
+ "file": "src/components/dialog/dialog-title.vue",
3346
+ "import": "@youcan/celeste",
3347
+ "props": [
3348
+ {
3349
+ "name": "class",
3350
+ "type": "ClassValue",
3351
+ "required": false
3352
+ }
3353
+ ],
3354
+ "events": [],
3355
+ "slots": [
3356
+ {
3357
+ "name": "default",
3358
+ "type": "{}"
3359
+ }
3360
+ ],
3361
+ "siblings": [
3362
+ "Dialog",
3363
+ "DialogBody",
3364
+ "DialogClose",
3365
+ "DialogContent",
3366
+ "DialogDescription",
3367
+ "DialogFooter",
3368
+ "DialogHeader",
3369
+ "DialogTrigger"
3370
+ ],
3371
+ "hasStory": false
3372
+ },
3373
+ "DialogTrigger": {
3374
+ "name": "DialogTrigger",
3375
+ "group": "dialog",
3376
+ "file": "src/components/dialog/dialog-trigger.vue",
3377
+ "import": "@youcan/celeste",
3378
+ "props": [
3379
+ {
3380
+ "name": "class",
3381
+ "type": "unknown",
3382
+ "required": false,
3383
+ "inherited": true
3384
+ }
3385
+ ],
3386
+ "events": [],
3387
+ "slots": [
3388
+ {
3389
+ "name": "default",
3390
+ "type": "{}"
3391
+ }
3392
+ ],
3393
+ "siblings": [
3394
+ "Dialog",
3395
+ "DialogBody",
3396
+ "DialogClose",
3397
+ "DialogContent",
3398
+ "DialogDescription",
3399
+ "DialogFooter",
3400
+ "DialogHeader",
3401
+ "DialogTitle"
3402
+ ],
3403
+ "hasStory": false
3404
+ },
3075
3405
  "DigitInput": {
3076
3406
  "name": "DigitInput",
3077
3407
  "group": "digit-input",
@@ -11977,7 +12307,7 @@
11977
12307
  "variant?: \"fill\" | \"light\" | \"lighter\" | \"stroke\"",
11978
12308
  "size?: \"xs\" | \"sm\" | \"lg\"",
11979
12309
  "dismissable?: boolean",
11980
- "inherited from vue-sonner: class, onDismiss, icon, description, position, cancel, dismissible, style, invert, closeButtonPosition, richColors, duration, closeButton, toasterId, component, componentProps, important, action, onAutoClose, cancelButtonStyle, actionButtonStyle, unstyled, classes, descriptionClass, testId, id"
12310
+ "inherited from vue-sonner: class, onDismiss, icon, description, position, cancel, style, dismissible, invert, closeButtonPosition, richColors, duration, closeButton, toasterId, component, componentProps, important, action, onAutoClose, cancelButtonStyle, actionButtonStyle, unstyled, classes, descriptionClass, testId, id"
11981
12311
  ]
11982
12312
  },
11983
12313
  "toast": {
package/ai/icons.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.16.0",
4
- "generatedAt": "2026-09-29T10:07:29.919Z",
3
+ "version": "0.17.1",
4
+ "generatedAt": "2026-10-04T16:09:56.592Z",
5
5
  "prefix": "celeste",
6
6
  "icons": [
7
7
  {
package/ai/tokens.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.16.0",
4
- "generatedAt": "2026-09-29T10:07:29.919Z",
3
+ "version": "0.17.1",
4
+ "generatedAt": "2026-10-04T16:09:56.592Z",
5
5
  "tokens": [
6
6
  {
7
7
  "name": "animation-extra-fast",