@vuetify/nightly 3.5.9-dev.2024-03-26 → 3.5.9-dev.2024-03-29

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.5.9-dev.2024-03-26
2
+ * Vuetify v3.5.9-dev.2024-03-29
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -25277,100 +25277,6 @@
25277
25277
  }
25278
25278
  });
25279
25279
 
25280
- // Types
25281
-
25282
- const makeVTimelineProps = propsFactory({
25283
- align: {
25284
- type: String,
25285
- default: 'center',
25286
- validator: v => ['center', 'start'].includes(v)
25287
- },
25288
- direction: {
25289
- type: String,
25290
- default: 'vertical',
25291
- validator: v => ['vertical', 'horizontal'].includes(v)
25292
- },
25293
- justify: {
25294
- type: String,
25295
- default: 'auto',
25296
- validator: v => ['auto', 'center'].includes(v)
25297
- },
25298
- side: {
25299
- type: String,
25300
- validator: v => v == null || ['start', 'end'].includes(v)
25301
- },
25302
- lineInset: {
25303
- type: [String, Number],
25304
- default: 0
25305
- },
25306
- lineThickness: {
25307
- type: [String, Number],
25308
- default: 2
25309
- },
25310
- lineColor: String,
25311
- truncateLine: {
25312
- type: String,
25313
- validator: v => ['start', 'end', 'both'].includes(v)
25314
- },
25315
- ...makeComponentProps(),
25316
- ...makeDensityProps(),
25317
- ...makeTagProps(),
25318
- ...makeThemeProps()
25319
- }, 'VTimeline');
25320
- const VTimeline = genericComponent()({
25321
- name: 'VTimeline',
25322
- props: makeVTimelineProps(),
25323
- setup(props, _ref) {
25324
- let {
25325
- slots
25326
- } = _ref;
25327
- const {
25328
- themeClasses
25329
- } = provideTheme(props);
25330
- const {
25331
- densityClasses
25332
- } = useDensity(props);
25333
- const {
25334
- rtlClasses
25335
- } = useRtl();
25336
- provideDefaults({
25337
- VTimelineDivider: {
25338
- lineColor: vue.toRef(props, 'lineColor')
25339
- },
25340
- VTimelineItem: {
25341
- density: vue.toRef(props, 'density'),
25342
- lineInset: vue.toRef(props, 'lineInset')
25343
- }
25344
- });
25345
- const sideClasses = vue.computed(() => {
25346
- const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
25347
- return side && `v-timeline--side-${side}`;
25348
- });
25349
- const truncateClasses = vue.computed(() => {
25350
- const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
25351
- switch (props.truncateLine) {
25352
- case 'both':
25353
- return classes;
25354
- case 'start':
25355
- return classes[0];
25356
- case 'end':
25357
- return classes[1];
25358
- default:
25359
- return null;
25360
- }
25361
- });
25362
- useRender(() => vue.createVNode(props.tag, {
25363
- "class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
25364
- 'v-timeline--inset-line': !!props.lineInset
25365
- }, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
25366
- "style": [{
25367
- '--v-timeline-line-thickness': convertToUnit(props.lineThickness)
25368
- }, props.style]
25369
- }, slots));
25370
- return {};
25371
- }
25372
- });
25373
-
25374
25280
  const makeVTimelineDividerProps = propsFactory({
25375
25281
  dotColor: String,
25376
25282
  fillDot: Boolean,
@@ -25517,6 +25423,103 @@
25517
25423
  }
25518
25424
  });
25519
25425
 
25426
+ const makeVTimelineProps = propsFactory({
25427
+ align: {
25428
+ type: String,
25429
+ default: 'center',
25430
+ validator: v => ['center', 'start'].includes(v)
25431
+ },
25432
+ direction: {
25433
+ type: String,
25434
+ default: 'vertical',
25435
+ validator: v => ['vertical', 'horizontal'].includes(v)
25436
+ },
25437
+ justify: {
25438
+ type: String,
25439
+ default: 'auto',
25440
+ validator: v => ['auto', 'center'].includes(v)
25441
+ },
25442
+ side: {
25443
+ type: String,
25444
+ validator: v => v == null || ['start', 'end'].includes(v)
25445
+ },
25446
+ lineThickness: {
25447
+ type: [String, Number],
25448
+ default: 2
25449
+ },
25450
+ lineColor: String,
25451
+ truncateLine: {
25452
+ type: String,
25453
+ validator: v => ['start', 'end', 'both'].includes(v)
25454
+ },
25455
+ ...only(makeVTimelineItemProps({
25456
+ lineInset: 0
25457
+ }), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
25458
+ ...makeComponentProps(),
25459
+ ...makeDensityProps(),
25460
+ ...makeTagProps(),
25461
+ ...makeThemeProps()
25462
+ }, 'VTimeline');
25463
+ const VTimeline = genericComponent()({
25464
+ name: 'VTimeline',
25465
+ props: makeVTimelineProps(),
25466
+ setup(props, _ref) {
25467
+ let {
25468
+ slots
25469
+ } = _ref;
25470
+ const {
25471
+ themeClasses
25472
+ } = provideTheme(props);
25473
+ const {
25474
+ densityClasses
25475
+ } = useDensity(props);
25476
+ const {
25477
+ rtlClasses
25478
+ } = useRtl();
25479
+ provideDefaults({
25480
+ VTimelineDivider: {
25481
+ lineColor: vue.toRef(props, 'lineColor')
25482
+ },
25483
+ VTimelineItem: {
25484
+ density: vue.toRef(props, 'density'),
25485
+ dotColor: vue.toRef(props, 'lineColor'),
25486
+ fillDot: vue.toRef(props, 'fillDot'),
25487
+ hideOpposite: vue.toRef(props, 'hideOpposite'),
25488
+ iconColor: vue.toRef(props, 'iconColor'),
25489
+ lineColor: vue.toRef(props, 'lineColor'),
25490
+ lineInset: vue.toRef(props, 'lineInset'),
25491
+ size: vue.toRef(props, 'size')
25492
+ }
25493
+ });
25494
+ const sideClasses = vue.computed(() => {
25495
+ const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
25496
+ return side && `v-timeline--side-${side}`;
25497
+ });
25498
+ const truncateClasses = vue.computed(() => {
25499
+ const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
25500
+ switch (props.truncateLine) {
25501
+ case 'both':
25502
+ return classes;
25503
+ case 'start':
25504
+ return classes[0];
25505
+ case 'end':
25506
+ return classes[1];
25507
+ default:
25508
+ return null;
25509
+ }
25510
+ });
25511
+ useRender(() => vue.createVNode(props.tag, {
25512
+ "class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
25513
+ 'v-timeline--inset-line': !!props.lineInset
25514
+ }, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
25515
+ "style": [{
25516
+ '--v-timeline-line-thickness': convertToUnit(props.lineThickness)
25517
+ }, props.style]
25518
+ }, slots));
25519
+ return {};
25520
+ }
25521
+ });
25522
+
25520
25523
  const makeVToolbarItemsProps = propsFactory({
25521
25524
  ...makeComponentProps(),
25522
25525
  ...makeVariantProps({
@@ -27672,7 +27675,7 @@
27672
27675
  goTo
27673
27676
  };
27674
27677
  }
27675
- const version$1 = "3.5.9-dev.2024-03-26";
27678
+ const version$1 = "3.5.9-dev.2024-03-29";
27676
27679
  createVuetify$1.version = version$1;
27677
27680
 
27678
27681
  // Vue's inject() can only be used in setup
@@ -27925,7 +27928,7 @@
27925
27928
 
27926
27929
  /* eslint-disable local-rules/sort-imports */
27927
27930
 
27928
- const version = "3.5.9-dev.2024-03-26";
27931
+ const version = "3.5.9-dev.2024-03-29";
27929
27932
 
27930
27933
  /* eslint-disable local-rules/sort-imports */
27931
27934