As RP says, S-traps are illegal in new work. Many jurisdictions allow them to be “grandfathered” in as old existing work done when such traps were approved.
As you undoubtedly realize, there is insufficient room for the usual P-trap fittings to be installed under a pedestal sink that drains into the floor. One solution would involve cutting the P-trap fittings to try to fit them in while still retaining the P-trap configuration. Sometimes you can install a “Redi-Vent” at the top of the waste tee, if your local authority allows it, and you may also be allowed to use those rubber drain fittings, if they remain exposed under the sink.
In all cases, have the final job inspected and approved.
NtP