From 264dda93ddbbf5639574026059ccb17084763a4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:13:06 -0300 Subject: [PATCH 01/17] fix: range picker type single --- src/components/range-picker/constants.ts | 4 +- src/components/range-picker/range-picker.tsx | 182 +++++-------------- 2 files changed, 52 insertions(+), 134 deletions(-) diff --git a/src/components/range-picker/constants.ts b/src/components/range-picker/constants.ts index ce759f4..8ae6a03 100644 --- a/src/components/range-picker/constants.ts +++ b/src/components/range-picker/constants.ts @@ -140,11 +140,11 @@ export const RANGE_PICKER_STYLES = { day_range_end: 'bg-button-solid rounded-s-sm ', day_range_start: 'bg-button-solid rounded-e-sm', day_selected: - 'text-button-solid-foreground hover:bg-button-solid hover:text-button-ghost-foreground focus:bg-button-solid focus:text-button-solid-foreground !font-medium', + 'text-button-solid-foreground !bg-button-solid hover:bg-button-solid hover:text-button-ghost-foreground focus:bg-button-solid focus:text-button-solid-foreground !font-medium', day_today: 'bg-button-ghost text-button-ghost-foreground pb-current-day', day_outside: 'day-outside text-button-ghost-foreground opacity-50 aria-selected:bg-[#9061F914] aria-selected:text-button-ghost-foreground', day_disabled: 'text-button-ghost-foreground opacity-50', - day_range_middle: 'aria-selected:bg-[#9061F914] aria-selected:!rounded-none aria-selected:text-informative-foreground ', + day_range_middle: 'aria-selected:!bg-[#9061F914] aria-selected:!rounded-none aria-selected:text-informative-foreground ', day_hidden: 'invisible' }; diff --git a/src/components/range-picker/range-picker.tsx b/src/components/range-picker/range-picker.tsx index 9a42bcc..79b3cec 100644 --- a/src/components/range-picker/range-picker.tsx +++ b/src/components/range-picker/range-picker.tsx @@ -1,25 +1,13 @@ 'use client'; import React, { useState, useEffect, useRef } from 'react'; -import { - format, - subDays, - startOfWeek, - startOfMonth, - isValid, - parse, - differenceInDays, -} from 'date-fns'; +import { format, subDays, startOfWeek, startOfMonth, isValid, parse, differenceInDays } from 'date-fns'; import { DayPicker, DateRange } from 'react-day-picker'; import { cn } from '@/lib/utils'; import { cva } from 'class-variance-authority'; import { Button } from '@/components/button'; -import { - ChevronLeftIcon, - ChevronRightIcon, - ArrowRightIcon, -} from '@stash-ui/regular-icons'; +import { ChevronLeftIcon, ChevronRightIcon, ArrowRightIcon } from '@stash-ui/regular-icons'; import { CalendarIcon } from '@stash-ui/solid-icons'; import { Popover, PopoverContent, PopoverTrigger } from '@/components/popover'; import { @@ -29,7 +17,7 @@ import { RANGE_PICKER_STYLES, LOCALE, LOCALE_DATE_FORMAT, - DATA_PERIODS_LABEL, + DATA_PERIODS_LABEL } from './constants'; import useClickOutside from '@/hooks/useClickOutside'; @@ -41,23 +29,16 @@ const menuVariants = cva( variants: { variant: { default: 'bg-transparent text-[#3F3F46]', - selected: 'text-[#3F3F46] text-[#9061F9] bg-active-menu font-semibold', - }, + selected: 'text-[#3F3F46] text-[#9061F9] bg-active-menu font-semibold' + } }, defaultVariants: { - variant: 'default', - }, + variant: 'default' + } } ); -type PeriodKeys = - | 'today' - | 'yesterday' - | 'this-week' - | 'this-month' - | 'this-year' - | 'all-time' - | 'custom'; +type PeriodKeys = 'today' | 'yesterday' | 'this-week' | 'this-month' | 'this-year' | 'all-time' | 'custom'; interface DateRangeApplying { from: Date | undefined; @@ -108,18 +89,13 @@ interface TriggerProps { type: 'range' | 'single'; } -export function TriggerRangeDate({ - rangeDate, - type, - locale = 'en', - hideMenu, -}: TriggerProps) { +export function TriggerRangeDate({ rangeDate, type, locale = 'en', hideMenu }: TriggerProps) { const renderDate = (date: Date) => { const todayDate = format(new Date(), "dd 'de' MMM, yyyy", { - locale: LOCALE[locale], + locale: LOCALE[locale] }); const formattedDate = format(date, "dd 'de' MMM, yyyy", { - locale: LOCALE[locale], + locale: LOCALE[locale] }); if (todayDate === formattedDate) return DATA_PERIODS_LABEL.today[locale]; @@ -130,30 +106,26 @@ export function TriggerRangeDate({ if (type === 'range' && 'from' in rangeDate && 'to' in rangeDate) { const fromDate = rangeDate?.from ? format(rangeDate.from, "dd 'de' MMM, yyyy", { - locale: LOCALE[locale], + locale: LOCALE[locale] }) : null; const toDate = rangeDate?.to ? format(rangeDate.to, "dd 'de' MMM, yyyy", { - locale: LOCALE[locale], + locale: LOCALE[locale] }) : null; return ( <> {rangeDate.type && !hideMenu ? ( - - {DATA_PERIODS_LABEL[rangeDate.type][locale]}: - + {DATA_PERIODS_LABEL[rangeDate.type][locale]}: ) : null} {fromDate} {rangeDate.to && fromDate !== toDate ? ( <> - - {renderDate(rangeDate.to)} - + {renderDate(rangeDate.to)} ) : null} @@ -163,7 +135,7 @@ export function TriggerRangeDate({ return ( {format(rangeDate, "dd 'de' MMM, yyyy", { - locale: LOCALE[locale], + locale: LOCALE[locale] })} ); @@ -177,22 +149,13 @@ export function TriggerRangeDate({ id="date" className="w-full border border-solid border-[#D4D4D8] h-[32px] px-3 rounded-lg flex items-center justify-start text-left text-sm font-semibold " > - + {rangeDate && renderLabel(rangeDate)} ); } -const RangePickerMenu = ({ - locale = 'en', - onDateChange, - onSelectType, - rangeType, - isCustom, -}: MenuProps) => { +const RangePickerMenu = ({ locale = 'en', onDateChange, onSelectType, rangeType, isCustom }: MenuProps) => { const [periodSelected, setPeriodSelected] = useState(rangeType); useEffect(() => { @@ -205,7 +168,7 @@ const RangePickerMenu = ({ const handleDateChange = (values: Date[]) => { onDateChange({ from: values[0], - to: values[1], + to: values[1] }); }; @@ -219,10 +182,7 @@ const RangePickerMenu = ({ case DEFAULT_PERIODS.YESTERDAY: return handleDateChange([subDays(DATE_NOW, 1), subDays(DATE_NOW, 1)]); case DEFAULT_PERIODS.THIS_WEEK: - return handleDateChange([ - startOfWeek(DATE_NOW, { weekStartsOn: 0 }), - DATE_NOW, - ]); + return handleDateChange([startOfWeek(DATE_NOW, { weekStartsOn: 0 }), DATE_NOW]); case DEFAULT_PERIODS.THIS_MONTH: return handleDateChange([startOfMonth(DATE_NOW), DATE_NOW]); case DEFAULT_PERIODS.THIS_YEAR: @@ -244,7 +204,7 @@ const RangePickerMenu = ({ data-testid={`range-${period.id}`} className={cn( menuVariants({ - variant: period.id === periodSelected ? 'selected' : 'default', + variant: period.id === periodSelected ? 'selected' : 'default' }) )} onClick={() => setRanges(period.id as PeriodKeys)} @@ -256,14 +216,7 @@ const RangePickerMenu = ({ ); }; -const CalendarInputs = ({ - onDateChange, - selectedDate, - locale, - hideInputs, - maxDate, - minDate, -}: FooterProps) => { +const CalendarInputs = ({ onDateChange, selectedDate, locale, hideInputs, maxDate, minDate }: FooterProps) => { const [startInputValue, setStartInputValue] = useState(''); const [endInputValue, setEndInputValue] = useState(''); @@ -274,14 +227,14 @@ const CalendarInputs = ({ if (selectedDate?.from) { setStartInputValue( format(selectedDate.from, LOCALE_DATE_FORMAT[locale], { - locale: LOCALE[locale], + locale: LOCALE[locale] }) ); } if (selectedDate?.to) { setEndInputValue( format(selectedDate.to, LOCALE_DATE_FORMAT[locale], { - locale: LOCALE[locale], + locale: LOCALE[locale] }) ); } @@ -301,7 +254,7 @@ const CalendarInputs = ({ const { id, value } = e.target; const dateFormat = LOCALE_DATE_FORMAT[locale]; const parsedDate = parse(value, dateFormat, new Date(), { - locale: LOCALE[locale], + locale: LOCALE[locale] }); if (isValid(parsedDate)) { @@ -315,14 +268,10 @@ const CalendarInputs = ({ if (id === 'initial-date') { onDateChange({ from: adjustedDate, to: selectedDate?.to }); - setStartInputValue( - format(adjustedDate, dateFormat, { locale: LOCALE[locale] }) - ); + setStartInputValue(format(adjustedDate, dateFormat, { locale: LOCALE[locale] })); } else { onDateChange({ from: selectedDate?.from, to: adjustedDate }); - setEndInputValue( - format(adjustedDate, dateFormat, { locale: LOCALE[locale] }) - ); + setEndInputValue(format(adjustedDate, dateFormat, { locale: LOCALE[locale] })); } } else { if (id === 'initial-date') { @@ -393,29 +342,20 @@ export function RangePicker({ initialType = 'this-month', maxDate, minDate, - inputPosition = 'bottom', + inputPosition = 'bottom' }: RangerPickerProps) { const commonProps = { classNames: RANGE_PICKER_STYLES, showOutsideDays: true, modifiers: { single_day: () => { - const getDiffDays = differenceInDays( - selectedDate?.to, - selectedDate?.from - ); - if ( - getDiffDays > 0 || - getDiffDays < 0 || - !selectedDate?.from || - !selectedDate?.to - ) - return false; + const getDiffDays = differenceInDays(selectedDate?.to, selectedDate?.from); + if (getDiffDays > 0 || getDiffDays < 0 || !selectedDate?.from || !selectedDate?.to) return false; return true; - }, + } }, modifiersClassNames: { - single_day: '!rounded-md', + single_day: '!rounded-md' }, locale: LOCALE[locale], @@ -423,8 +363,8 @@ export function RangePicker({ defaultMonth: initialRangeDate?.from || new Date(), components: { IconLeft: () => , - IconRight: () => , - }, + IconRight: () => + } }; const [isOpen, setIsOpen] = useState(false); @@ -432,18 +372,16 @@ export function RangePicker({ const [isCustom, setIsCustom] = useState(false); const [selectedDate, setSelectedDate] = useState({ from: initialRangeDate?.from || new Date(), - to: initialRangeDate?.to || new Date(), + to: initialRangeDate?.to || new Date() }); const [dateApplied, setDateApplied] = useState({ from: selectedDate.from, to: selectedDate.to, - type: initialType, + type: initialType }); - const [singleDate, setSingleDate] = useState( - initialSingleDate || new Date() - ); + const [singleDate, setSingleDate] = useState(initialSingleDate || new Date()); const rangeRef = useRef(null); @@ -452,10 +390,7 @@ export function RangePicker({ setIsCustom(false); }); - const handleRangeChange = ( - date: DateRange | undefined, - isFromMenu = false - ) => { + const handleRangeChange = (date: DateRange | undefined, isFromMenu = false) => { if (!isFromMenu) { setIsCustom(true); } @@ -470,7 +405,7 @@ export function RangePicker({ } else { setSelectedDate({ from: fromDate, - to: toDate, + to: toDate }); } }; @@ -487,12 +422,12 @@ export function RangePicker({ onChange({ from: from ? setStartOfDay(from) : undefined, to: to ? setEndOfDay(to) : undefined, - type: !hideMenu ? rangeType : null, + type: !hideMenu ? rangeType : null }); setDateApplied({ from: from ? setStartOfDay(from) : undefined, to: to ? setEndOfDay(to) : undefined, - type: !hideMenu ? rangeType : null, + type: !hideMenu ? rangeType : null }); setIsOpen(false); setIsCustom(false); @@ -512,26 +447,14 @@ export function RangePicker({ const renderCalendarButtons = () => (
- -
@@ -549,12 +472,7 @@ export function RangePicker({ {trigger ? ( trigger ) : ( - + )} ) : ( handleSingleChange(date)} + month={singleDate} /> )}
- {!hideInputs && type === 'range' && inputPosition === 'bottom' - ? renderCalendarInputs() - : null} + {!hideInputs && type === 'range' && inputPosition === 'bottom' ? renderCalendarInputs() : null} {type === 'range' ? renderCalendarButtons() : null}
From f7985e5ea94c436796c5c73b8fbb9c5bf180ca01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:13:39 -0300 Subject: [PATCH 02/17] chore(release): 0.0.289 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0afba7d..2b1af49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.289](https://github.com/getpingback/ui/compare/v0.0.288...v0.0.289) (2024-12-11) + + +### Bug Fixes + +* range picker type single ([264dda9](https://github.com/getpingback/ui/commits/264dda93ddbbf5639574026059ccb17084763a4f)) + ### [0.0.287](https://github.com/getpingback/ui/compare/v0.0.284...v0.0.287) (2024-12-11) ### [0.0.286](https://github.com/getpingback/ui/compare/v0.0.284...v0.0.286) (2024-12-11) diff --git a/package.json b/package.json index b9db354..d4edaee 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.288", + "version": "0.0.289", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From 9296b5e5dabcdeb1056271f11e732a150143bc83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:14:03 -0300 Subject: [PATCH 03/17] v0.0.290 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d4edaee..635b43e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.289", + "version": "0.0.290", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From c8cc3e0e35cc83d34c1663796652ed91925ece4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:38:37 -0300 Subject: [PATCH 04/17] fix: add variante orange on badge --- src/components/badge/badge.tsx | 79 +++++++++++++++++----------------- src/styles/globals.css | 2 + tailwind.config.js | 4 ++ 3 files changed, 46 insertions(+), 39 deletions(-) diff --git a/src/components/badge/badge.tsx b/src/components/badge/badge.tsx index 5f9fc16..c37b9eb 100644 --- a/src/components/badge/badge.tsx +++ b/src/components/badge/badge.tsx @@ -1,67 +1,68 @@ -import * as React from "react"; -import { cva, type VariantProps } from "class-variance-authority"; +import * as React from 'react'; +import { cva, type VariantProps } from 'class-variance-authority'; -import { cn } from "@/lib/utils"; +import { cn } from '@/lib/utils'; -const badgeVariants = cva("inline-flex items-center px-2.5 py-0.5 text-xs font-semibold w-fit", { +const badgeVariants = cva('inline-flex items-center px-2.5 py-0.5 text-xs font-semibold w-fit', { variants: { type: { - green: "bg-badge-green text-badge-green-foreground", - gray: "bg-badge-gray text-badge-gray-foreground", - teal: "bg-badge-teal text-badge-teal-foreground", - red: "bg-badge-red text-badge-red-foreground", - yellow: "bg-badge-yellow text-badge-yellow-foreground", - purple: "bg-badge-purple text-badge-purple-foreground", + green: 'bg-badge-green text-badge-green-foreground', + gray: 'bg-badge-gray text-badge-gray-foreground', + teal: 'bg-badge-teal text-badge-teal-foreground', + red: 'bg-badge-red text-badge-red-foreground', + yellow: 'bg-badge-yellow text-badge-yellow-foreground', + purple: 'bg-badge-purple text-badge-purple-foreground', + orange: 'bg-badge-orange text-badge-orange-foreground' }, variant: { - outline: "bg-transparent", - ghost: "border-none", + outline: 'bg-transparent', + ghost: 'border-none' }, radius: { - full: "rounded-full", - medium: "rounded-md", + full: 'rounded-full', + medium: 'rounded-md' }, transform: { - uppercase: "uppercase", - }, + uppercase: 'uppercase' + } }, compoundVariants: [ { - variant: "outline", - type: "green", - className: "border border-badge-green", + variant: 'outline', + type: 'green', + className: 'border border-badge-green' }, { - variant: "outline", - type: "gray", - className: "border border-badge-gray", + variant: 'outline', + type: 'gray', + className: 'border border-badge-gray' }, { - variant: "outline", - type: "teal", - className: "border border-badge-teal", + variant: 'outline', + type: 'teal', + className: 'border border-badge-teal' }, { - variant: "outline", - type: "red", - className: "border border-badge-red", + variant: 'outline', + type: 'red', + className: 'border border-badge-red' }, { - variant: "outline", - type: "yellow", - className: "border border-badge-yellow", + variant: 'outline', + type: 'yellow', + className: 'border border-badge-yellow' }, { - variant: "outline", - type: "purple", - className: "border border-badge-purple", - }, + variant: 'outline', + type: 'purple', + className: 'border border-badge-purple' + } ], defaultVariants: { - type: "purple", - radius: "full", - variant: "ghost", - }, + type: 'purple', + radius: 'full', + variant: 'ghost' + } }); export interface BadgeProps extends React.HTMLAttributes, VariantProps {} diff --git a/src/styles/globals.css b/src/styles/globals.css index 9dfe60d..913e514 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -19,6 +19,8 @@ --badge-green-bg: #0e9f6e1f; --badge-purple-bg: #9061f914; --badge-purple-text: #9061f9; + --badge-orange-bg: #ff5a1f14; + --badge-orange-text: #ff5a1f; --buttons-solid_default: #9061f9; --button-solid-bg: #9061f9; diff --git a/tailwind.config.js b/tailwind.config.js index 9774f72..5beacfe 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -256,6 +256,10 @@ const config = { purple: { DEFAULT: 'var(--badge-purple-bg)', foreground: 'var(--badge-purple-text)' + }, + orange: { + DEFAULT: 'var(--badge-orange-bg)', + foreground: 'var(--badge-orange-text)' } }, button: { From ec3b58013fb1df1184fd6545eb6278a4ff82c20a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:39:04 -0300 Subject: [PATCH 05/17] chore(release): 0.0.291 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b1af49..f86b5af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.291](https://github.com/getpingback/ui/compare/v0.0.290...v0.0.291) (2024-12-11) + + +### Bug Fixes + +* add variante orange on badge ([c8cc3e0](https://github.com/getpingback/ui/commits/c8cc3e0e35cc83d34c1663796652ed91925ece4a)) + ### [0.0.289](https://github.com/getpingback/ui/compare/v0.0.288...v0.0.289) (2024-12-11) diff --git a/package.json b/package.json index 635b43e..7538b05 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.290", + "version": "0.0.291", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From 6549179993f679a7d9bb0ce270cde997a44fde72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:39:32 -0300 Subject: [PATCH 06/17] v0.0.292 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7538b05..696bd32 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.291", + "version": "0.0.292", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From 01303f48190edcb59d9d2995bf7b0c9adfd8166f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:18:08 -0300 Subject: [PATCH 07/17] fix: select content width --- src/components/select/select.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/select/select.tsx b/src/components/select/select.tsx index 65f2560..6de0373 100644 --- a/src/components/select/select.tsx +++ b/src/components/select/select.tsx @@ -54,18 +54,18 @@ export function Select({ label, helperText, placeholder, options, value, onValue - - + + {options.map((option) => ( -
+
{option.label} From 206dd40770204292cfe86cbc5ecd2d39a4d16878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:18:46 -0300 Subject: [PATCH 08/17] chore(release): 0.0.293 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f86b5af..98030ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.293](https://github.com/getpingback/ui/compare/v0.0.292...v0.0.293) (2024-12-17) + + +### Bug Fixes + +* select content width ([01303f4](https://github.com/getpingback/ui/commits/01303f48190edcb59d9d2995bf7b0c9adfd8166f)) + ### [0.0.291](https://github.com/getpingback/ui/compare/v0.0.290...v0.0.291) (2024-12-11) diff --git a/package.json b/package.json index 696bd32..a0a7eba 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.292", + "version": "0.0.293", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From ed42a19cbfca71d59ff6256be8557184c968ae6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:20:17 -0300 Subject: [PATCH 09/17] chore(release): 0.0.295 --- CHANGELOG.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98030ff..fac8713 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.295](https://github.com/getpingback/ui/compare/v0.0.293...v0.0.295) (2024-12-17) + ### [0.0.293](https://github.com/getpingback/ui/compare/v0.0.292...v0.0.293) (2024-12-17) diff --git a/package.json b/package.json index a0a7eba..03a9473 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.293", + "version": "0.0.295", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From b1fc2baf44f91306152bb2adbd4a8757f6cad557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:20:39 -0300 Subject: [PATCH 10/17] v0.0.296 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 03a9473..78f1cb6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.295", + "version": "0.0.296", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From 707e8146c9dc59c3b4cf9b70d2800827489b9938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:42:52 -0300 Subject: [PATCH 11/17] chore(release): 0.0.301 --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64b406d..ad6ee81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,42 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.301](https://github.com/getpingback/ui/compare/v0.0.300...v0.0.301) (2024-12-18) + + +### Bug Fixes + +* merge ([0440a09](https://github.com/getpingback/ui/commits/0440a09b58e776ffc3d965130a60bbb78289236e)) + +### [0.0.296](https://github.com/getpingback/ui/compare/v0.0.295...v0.0.296) (2024-12-17) + +### [0.0.295](https://github.com/getpingback/ui/compare/v0.0.293...v0.0.295) (2024-12-17) + +### [0.0.293](https://github.com/getpingback/ui/compare/v0.0.292...v0.0.293) (2024-12-17) + + +### Bug Fixes + +* select content width ([01303f4](https://github.com/getpingback/ui/commits/01303f48190edcb59d9d2995bf7b0c9adfd8166f)) + +### [0.0.292](https://github.com/getpingback/ui/compare/v0.0.291...v0.0.292) (2024-12-11) + +### [0.0.291](https://github.com/getpingback/ui/compare/v0.0.290...v0.0.291) (2024-12-11) + + +### Bug Fixes + +* add variante orange on badge ([c8cc3e0](https://github.com/getpingback/ui/commits/c8cc3e0e35cc83d34c1663796652ed91925ece4a)) + +### [0.0.290](https://github.com/getpingback/ui/compare/v0.0.289...v0.0.290) (2024-12-11) + +### [0.0.289](https://github.com/getpingback/ui/compare/v0.0.288...v0.0.289) (2024-12-11) + + +### Bug Fixes + +* range picker type single ([264dda9](https://github.com/getpingback/ui/commits/264dda93ddbbf5639574026059ccb17084763a4f)) + ### [0.0.299](https://github.com/getpingback/ui/compare/v0.0.298...v0.0.299) (2024-12-18) diff --git a/package.json b/package.json index edd9cf8..dfca724 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.300", + "version": "0.0.301", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From efaaa86805eea9fda8b96da248342640e80dae82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:43:26 -0300 Subject: [PATCH 12/17] v0.0.302 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dfca724..271537b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.301", + "version": "0.0.302", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From 0e320b23e1dbab8331ffac8a514a96638d008b86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:49:57 -0300 Subject: [PATCH 13/17] fix: range picker month --- src/components/range-picker/range-picker.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/range-picker/range-picker.tsx b/src/components/range-picker/range-picker.tsx index 260231a..bf3f9a1 100644 --- a/src/components/range-picker/range-picker.tsx +++ b/src/components/range-picker/range-picker.tsx @@ -511,7 +511,6 @@ export function RangePicker({ showOutsideDays={false} toDate={maxDate || undefined} fromDate={minDate || undefined} - month={selectedDate.from} /> ) : ( Date: Wed, 18 Dec 2024 15:50:51 -0300 Subject: [PATCH 14/17] chore(release): 0.0.303 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad6ee81..87d4781 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.303](https://github.com/getpingback/ui/compare/v0.0.302...v0.0.303) (2024-12-18) + + +### Bug Fixes + +* range picker month ([0e320b2](https://github.com/getpingback/ui/commits/0e320b23e1dbab8331ffac8a514a96638d008b86)) + ### [0.0.301](https://github.com/getpingback/ui/compare/v0.0.300...v0.0.301) (2024-12-18) diff --git a/package.json b/package.json index 271537b..c3d98a8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.302", + "version": "0.0.303", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From eba0066cc07f95dc62d2be309f6b44caaaeba2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:51:15 -0300 Subject: [PATCH 15/17] v0.0.304 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c3d98a8..fa3f3d3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.303", + "version": "0.0.304", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From 58ac3d292e038d4163eff9f5dd2f8d2af42eee87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Tue, 7 Jan 2025 10:13:19 -0300 Subject: [PATCH 16/17] chore(release): 0.0.315 --- CHANGELOG.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5059c6..529f41e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,60 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.315](https://github.com/getpingback/ui/compare/v0.0.314...v0.0.315) (2025-01-07) + + +### Features + +* merge main ([7d39fa7](https://github.com/getpingback/ui/commits/7d39fa729668bd8aabb156454321c582b194d65e)) + +### [0.0.304](https://github.com/getpingback/ui/compare/v0.0.303...v0.0.304) (2024-12-18) + +### [0.0.303](https://github.com/getpingback/ui/compare/v0.0.302...v0.0.303) (2024-12-18) + + +### Bug Fixes + +* range picker month ([0e320b2](https://github.com/getpingback/ui/commits/0e320b23e1dbab8331ffac8a514a96638d008b86)) + +### [0.0.302](https://github.com/getpingback/ui/compare/v0.0.301...v0.0.302) (2024-12-18) + +### [0.0.301](https://github.com/getpingback/ui/compare/v0.0.300...v0.0.301) (2024-12-18) + + +### Bug Fixes + +* merge ([0440a09](https://github.com/getpingback/ui/commits/0440a09b58e776ffc3d965130a60bbb78289236e)) + +### [0.0.296](https://github.com/getpingback/ui/compare/v0.0.295...v0.0.296) (2024-12-17) + +### [0.0.295](https://github.com/getpingback/ui/compare/v0.0.293...v0.0.295) (2024-12-17) + +### [0.0.293](https://github.com/getpingback/ui/compare/v0.0.292...v0.0.293) (2024-12-17) + + +### Bug Fixes + +* select content width ([01303f4](https://github.com/getpingback/ui/commits/01303f48190edcb59d9d2995bf7b0c9adfd8166f)) + +### [0.0.292](https://github.com/getpingback/ui/compare/v0.0.291...v0.0.292) (2024-12-11) + +### [0.0.291](https://github.com/getpingback/ui/compare/v0.0.290...v0.0.291) (2024-12-11) + + +### Bug Fixes + +* add variante orange on badge ([c8cc3e0](https://github.com/getpingback/ui/commits/c8cc3e0e35cc83d34c1663796652ed91925ece4a)) + +### [0.0.290](https://github.com/getpingback/ui/compare/v0.0.289...v0.0.290) (2024-12-11) + +### [0.0.289](https://github.com/getpingback/ui/compare/v0.0.288...v0.0.289) (2024-12-11) + + +### Bug Fixes + +* range picker type single ([264dda9](https://github.com/getpingback/ui/commits/264dda93ddbbf5639574026059ccb17084763a4f)) + ### [0.0.313](https://github.com/getpingback/ui/compare/v0.0.312...v0.0.313) (2025-01-07) diff --git a/package.json b/package.json index f5e6339..cd475a8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.314", + "version": "0.0.315", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From f57742f73fbffd38265644a11a89eb22f206b357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9ss=20Martins?= <81935519+Jessmartins91@users.noreply.github.com> Date: Tue, 7 Jan 2025 10:29:10 -0300 Subject: [PATCH 17/17] v0.0.316 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cd475a8..e48aabb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@getpingback/ui", "author": "Pingback Team", - "version": "0.0.315", + "version": "0.0.316", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js",