@vuetify/nightly 3.5.9-dev.2024-03-17 → 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-17
2
+ * Vuetify v3.5.9-dev.2024-03-29
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -22671,6 +22671,7 @@ const VLocaleProvider = genericComponent()({
22671
22671
  const makeVMainProps = propsFactory({
22672
22672
  scrollable: Boolean,
22673
22673
  ...makeComponentProps(),
22674
+ ...makeDimensionProps(),
22674
22675
  ...makeTagProps({
22675
22676
  tag: 'main'
22676
22677
  })
@@ -22682,6 +22683,9 @@ const VMain = genericComponent()({
22682
22683
  let {
22683
22684
  slots
22684
22685
  } = _ref;
22686
+ const {
22687
+ dimensionStyles
22688
+ } = useDimension(props);
22685
22689
  const {
22686
22690
  mainStyles,
22687
22691
  layoutIsReady
@@ -22693,7 +22697,7 @@ const VMain = genericComponent()({
22693
22697
  "class": ['v-main', {
22694
22698
  'v-main--scrollable': props.scrollable
22695
22699
  }, props.class],
22696
- "style": [mainStyles.value, ssrBootStyles.value, props.style]
22700
+ "style": [mainStyles.value, ssrBootStyles.value, dimensionStyles.value, props.style]
22697
22701
  }, {
22698
22702
  default: () => [props.scrollable ? createVNode("div", {
22699
22703
  "class": "v-main__scroller"
@@ -25502,100 +25506,6 @@ const VThemeProvider = genericComponent()({
25502
25506
  }
25503
25507
  });
25504
25508
 
25505
- // Types
25506
-
25507
- const makeVTimelineProps = propsFactory({
25508
- align: {
25509
- type: String,
25510
- default: 'center',
25511
- validator: v => ['center', 'start'].includes(v)
25512
- },
25513
- direction: {
25514
- type: String,
25515
- default: 'vertical',
25516
- validator: v => ['vertical', 'horizontal'].includes(v)
25517
- },
25518
- justify: {
25519
- type: String,
25520
- default: 'auto',
25521
- validator: v => ['auto', 'center'].includes(v)
25522
- },
25523
- side: {
25524
- type: String,
25525
- validator: v => v == null || ['start', 'end'].includes(v)
25526
- },
25527
- lineInset: {
25528
- type: [String, Number],
25529
- default: 0
25530
- },
25531
- lineThickness: {
25532
- type: [String, Number],
25533
- default: 2
25534
- },
25535
- lineColor: String,
25536
- truncateLine: {
25537
- type: String,
25538
- validator: v => ['start', 'end', 'both'].includes(v)
25539
- },
25540
- ...makeComponentProps(),
25541
- ...makeDensityProps(),
25542
- ...makeTagProps(),
25543
- ...makeThemeProps()
25544
- }, 'VTimeline');
25545
- const VTimeline = genericComponent()({
25546
- name: 'VTimeline',
25547
- props: makeVTimelineProps(),
25548
- setup(props, _ref) {
25549
- let {
25550
- slots
25551
- } = _ref;
25552
- const {
25553
- themeClasses
25554
- } = provideTheme(props);
25555
- const {
25556
- densityClasses
25557
- } = useDensity(props);
25558
- const {
25559
- rtlClasses
25560
- } = useRtl();
25561
- provideDefaults({
25562
- VTimelineDivider: {
25563
- lineColor: toRef(props, 'lineColor')
25564
- },
25565
- VTimelineItem: {
25566
- density: toRef(props, 'density'),
25567
- lineInset: toRef(props, 'lineInset')
25568
- }
25569
- });
25570
- const sideClasses = computed(() => {
25571
- const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
25572
- return side && `v-timeline--side-${side}`;
25573
- });
25574
- const truncateClasses = computed(() => {
25575
- const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
25576
- switch (props.truncateLine) {
25577
- case 'both':
25578
- return classes;
25579
- case 'start':
25580
- return classes[0];
25581
- case 'end':
25582
- return classes[1];
25583
- default:
25584
- return null;
25585
- }
25586
- });
25587
- useRender(() => createVNode(props.tag, {
25588
- "class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
25589
- 'v-timeline--inset-line': !!props.lineInset
25590
- }, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
25591
- "style": [{
25592
- '--v-timeline-line-thickness': convertToUnit(props.lineThickness)
25593
- }, props.style]
25594
- }, slots));
25595
- return {};
25596
- }
25597
- });
25598
-
25599
25509
  const makeVTimelineDividerProps = propsFactory({
25600
25510
  dotColor: String,
25601
25511
  fillDot: Boolean,
@@ -25742,6 +25652,103 @@ const VTimelineItem = genericComponent()({
25742
25652
  }
25743
25653
  });
25744
25654
 
25655
+ const makeVTimelineProps = propsFactory({
25656
+ align: {
25657
+ type: String,
25658
+ default: 'center',
25659
+ validator: v => ['center', 'start'].includes(v)
25660
+ },
25661
+ direction: {
25662
+ type: String,
25663
+ default: 'vertical',
25664
+ validator: v => ['vertical', 'horizontal'].includes(v)
25665
+ },
25666
+ justify: {
25667
+ type: String,
25668
+ default: 'auto',
25669
+ validator: v => ['auto', 'center'].includes(v)
25670
+ },
25671
+ side: {
25672
+ type: String,
25673
+ validator: v => v == null || ['start', 'end'].includes(v)
25674
+ },
25675
+ lineThickness: {
25676
+ type: [String, Number],
25677
+ default: 2
25678
+ },
25679
+ lineColor: String,
25680
+ truncateLine: {
25681
+ type: String,
25682
+ validator: v => ['start', 'end', 'both'].includes(v)
25683
+ },
25684
+ ...only(makeVTimelineItemProps({
25685
+ lineInset: 0
25686
+ }), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
25687
+ ...makeComponentProps(),
25688
+ ...makeDensityProps(),
25689
+ ...makeTagProps(),
25690
+ ...makeThemeProps()
25691
+ }, 'VTimeline');
25692
+ const VTimeline = genericComponent()({
25693
+ name: 'VTimeline',
25694
+ props: makeVTimelineProps(),
25695
+ setup(props, _ref) {
25696
+ let {
25697
+ slots
25698
+ } = _ref;
25699
+ const {
25700
+ themeClasses
25701
+ } = provideTheme(props);
25702
+ const {
25703
+ densityClasses
25704
+ } = useDensity(props);
25705
+ const {
25706
+ rtlClasses
25707
+ } = useRtl();
25708
+ provideDefaults({
25709
+ VTimelineDivider: {
25710
+ lineColor: toRef(props, 'lineColor')
25711
+ },
25712
+ VTimelineItem: {
25713
+ density: toRef(props, 'density'),
25714
+ dotColor: toRef(props, 'lineColor'),
25715
+ fillDot: toRef(props, 'fillDot'),
25716
+ hideOpposite: toRef(props, 'hideOpposite'),
25717
+ iconColor: toRef(props, 'iconColor'),
25718
+ lineColor: toRef(props, 'lineColor'),
25719
+ lineInset: toRef(props, 'lineInset'),
25720
+ size: toRef(props, 'size')
25721
+ }
25722
+ });
25723
+ const sideClasses = computed(() => {
25724
+ const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
25725
+ return side && `v-timeline--side-${side}`;
25726
+ });
25727
+ const truncateClasses = computed(() => {
25728
+ const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
25729
+ switch (props.truncateLine) {
25730
+ case 'both':
25731
+ return classes;
25732
+ case 'start':
25733
+ return classes[0];
25734
+ case 'end':
25735
+ return classes[1];
25736
+ default:
25737
+ return null;
25738
+ }
25739
+ });
25740
+ useRender(() => createVNode(props.tag, {
25741
+ "class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
25742
+ 'v-timeline--inset-line': !!props.lineInset
25743
+ }, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
25744
+ "style": [{
25745
+ '--v-timeline-line-thickness': convertToUnit(props.lineThickness)
25746
+ }, props.style]
25747
+ }, slots));
25748
+ return {};
25749
+ }
25750
+ });
25751
+
25745
25752
  const makeVToolbarItemsProps = propsFactory({
25746
25753
  ...makeComponentProps(),
25747
25754
  ...makeVariantProps({
@@ -26252,7 +26259,7 @@ function createVuetify$1() {
26252
26259
  goTo
26253
26260
  };
26254
26261
  }
26255
- const version$1 = "3.5.9-dev.2024-03-17";
26262
+ const version$1 = "3.5.9-dev.2024-03-29";
26256
26263
  createVuetify$1.version = version$1;
26257
26264
 
26258
26265
  // Vue's inject() can only be used in setup
@@ -26277,7 +26284,7 @@ const createVuetify = function () {
26277
26284
  ...options
26278
26285
  });
26279
26286
  };
26280
- const version = "3.5.9-dev.2024-03-17";
26287
+ const version = "3.5.9-dev.2024-03-29";
26281
26288
  createVuetify.version = version;
26282
26289
 
26283
26290
  export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };